rust/src/test/ui/namespace/namespaced-enum-glob-import-no-impls.stderr

28 lines
992 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0425]: cannot find function `foo` in this scope
--> $DIR/namespaced-enum-glob-import-no-impls.rs:31: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:32: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:33: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:34: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`.