Fix resolution tests

This commit is contained in:
Corey Richardson 2013-05-14 20:33:41 -04:00
parent 8a69dba84a
commit 68863153bb
6 changed files with 6 additions and 2 deletions

View File

@ -9,6 +9,7 @@
// except according to those terms.
use x = m::f; //~ ERROR failed to resolve import
//~^ unresolved import: there is no `f` in `m`
mod m {
}

View File

@ -9,6 +9,7 @@
// except according to those terms.
use x = m::f; //~ ERROR failed to resolve import
//~^ ERROR unresolved import: there is no `f` in `m`
mod m {
}

View File

@ -9,6 +9,7 @@
// except according to those terms.
use zoo::{duck, goose}; //~ ERROR failed to resolve import
//~^ ERROR unresolved import: found `goose` in `zoo` but it is private
mod zoo {
pub enum bird {

View File

@ -9,6 +9,7 @@
// except according to those terms.
use zoo::fly; //~ ERROR failed to resolve import
//~^ ERROR unresolved import: found `fly` in `zoo` but it is private
mod zoo {
priv type fly = ();

View File

@ -9,6 +9,7 @@
// except according to those terms.
use zoo::fly; //~ ERROR failed to resolve import
//~^ ERROR unresolved import: found `fly` in `zoo` but it is private
mod zoo {
priv fn fly() {}

View File

@ -1,5 +1,4 @@
use super::f; //~ ERROR unresolved name
//~^ ERROR failed to resolve import
use super::f; //~ ERROR failed to resolve import
fn main() {
}