]> git.lizzy.rs Git - rust.git/blob - src/test/ui/export-import.stderr
Detect pub fn attr wrong order like `async pub`
[rust.git] / src / test / ui / export-import.stderr
1 error[E0603]: function `unexported` is private
2   --> $DIR/export-import.rs:1:8
3    |
4 LL | use m::unexported;
5    |        ^^^^^^^^^^ private function
6    |
7 note: the function `unexported` is defined here
8   --> $DIR/export-import.rs:7:5
9    |
10 LL |     fn unexported() { }
11    |     ^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0603`.