summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/export-fully-qualified-2018.stderr
blob: 366ffd9bb2b451412f4742dfbb08f352304f4bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0433]: failed to resolve: use of undeclared crate or module `foo`
  --> $DIR/export-fully-qualified-2018.rs:8:20
   |
LL |     pub fn bar() { foo::baz(); }
   |                    ^^^ use of undeclared crate or module `foo`
   |
help: consider importing this module
   |
LL +     use crate::foo;
   |

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.