rust/tests/ui/error-codes/E0253.stderr
2023-01-11 09:32:08 +00:00

10 lines
294 B
Plaintext

error[E0253]: `do_something` is not directly importable
--> $DIR/E0253.rs:7:5
|
LL | use foo::MyTrait::do_something;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be imported directly
error: aborting due to previous error
For more information about this error, try `rustc --explain E0253`.