rust/src/test/ui/namespace/namespaced-enum-glob-import-no-impls.stderr
2018-12-25 21:08:33 -07:00

28 lines
992 B
Plaintext

error[E0425]: cannot find function `foo` in this scope
--> $DIR/namespaced-enum-glob-import-no-impls.rs:21:5
|
LL | foo(); //~ ERROR cannot find function `foo` in this scope
| ^^^ not found in this scope
error[E0425]: cannot find function `foo` in module `m`
--> $DIR/namespaced-enum-glob-import-no-impls.rs:22:8
|
LL | m::foo(); //~ ERROR cannot find function `foo` in module `m`
| ^^^ not found in `m`
error[E0425]: cannot find function `bar` in this scope
--> $DIR/namespaced-enum-glob-import-no-impls.rs:23:5
|
LL | bar(); //~ ERROR cannot find function `bar` in this scope
| ^^^ not found in this scope
error[E0425]: cannot find function `bar` in module `m`
--> $DIR/namespaced-enum-glob-import-no-impls.rs:24:8
|
LL | m::bar(); //~ ERROR cannot find function `bar` in module `m`
| ^^^ not found in `m`
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0425`.