summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0429.stderr
blob: c598803fa6cb80e2d340e93e552e4c0607b2c940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
   |            --
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`.