Fix resolution tests
This commit is contained in:
parent
8a69dba84a
commit
68863153bb
@ -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 {
|
||||
}
|
||||
|
@ -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 {
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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 = ();
|
||||
|
@ -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() {}
|
||||
|
@ -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() {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user