]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0429.stderr
Rollup merge of #97786 - ferrocene:pa-fix-simulate-remap-prefix, r=Mark-Simulacrum
[rust.git] / src / test / ui / error-codes / E0429.stderr
1 error[E0429]: `self` imports are only allowed within a { } list
2   --> $DIR/E0429.rs:1:13
3    |
4 LL | use std::fmt::self;
5    |             ^^^^^^
6    |
7 help: consider importing the module directly
8    |
9 LL - use std::fmt::self;
10 LL + use std::fmt;
11    |
12 help: alternatively, use the multi-path `use` syntax to import `self`
13    |
14 LL | use std::fmt::{self};
15    |               +    +
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0429`.