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
2018-12-25 09:56:47 -06:00
--> $DIR/namespaced-enum-glob-import-no-impls.rs:21:5
2018-08-08 07:28:26 -05:00
|
LL | foo(); //~ ERROR cannot find function `foo` in this scope
| ^^^ not found in this scope
error[E0425]: cannot find function `foo` in module `m`
2018-12-25 09:56:47 -06:00
--> $DIR/namespaced-enum-glob-import-no-impls.rs:22:8
2018-08-08 07:28:26 -05:00
|
LL | m::foo(); //~ ERROR cannot find function `foo` in module `m`
| ^^^ not found in `m`
error[E0425]: cannot find function `bar` in this scope
2018-12-25 09:56:47 -06:00
--> $DIR/namespaced-enum-glob-import-no-impls.rs:23:5
2018-08-08 07:28:26 -05:00
|
LL | bar(); //~ ERROR cannot find function `bar` in this scope
| ^^^ not found in this scope
error[E0425]: cannot find function `bar` in module `m`
2018-12-25 09:56:47 -06:00
--> $DIR/namespaced-enum-glob-import-no-impls.rs:24:8
2018-08-08 07:28:26 -05:00
|
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`.