summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0429.stderr
blob: 08b99232ee22ba572b53055ea1250067209305cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0429]: `self` imports are only allowed within a { } list
  --> $DIR/E0429.rs:1:13
   |
LL | use std::fmt::self;
   |             ^^^^^^
   |
help: consider importing the module directly
   |
LL - use std::fmt::self;
LL + use std::fmt;
   |
help: alternatively, use the multi-path `use` syntax to import `self`
   |
LL | use std::fmt::{self};
   |               +    +

error: aborting due to previous error

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