2023-03-10 15:20:29 -06:00
|
|
|
error: useless anonymous re-export
|
|
|
|
--> $DIR/anonymous-reexport.rs:13:1
|
|
|
|
|
|
|
|
|
LL | pub use self::my_mod::Bar as _;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-03-12 09:23:32 -05:00
|
|
|
= note: only anonymous re-exports of traits are useful, this is a `struct`
|
2023-03-10 15:20:29 -06:00
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/anonymous-reexport.rs:1:9
|
|
|
|
|
|
|
|
|
LL | #![deny(useless_anonymous_reexport)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: useless anonymous re-export
|
|
|
|
--> $DIR/anonymous-reexport.rs:14:1
|
|
|
|
|
|
|
|
|
LL | pub use self::my_mod::TyBar as _;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-03-12 09:23:32 -05:00
|
|
|
|
|
|
|
|
= note: only anonymous re-exports of traits are useful, this is a `type alias`
|
|
|
|
|
|
|
|
error: useless anonymous re-export
|
|
|
|
--> $DIR/anonymous-reexport.rs:15:24
|
|
|
|
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _};
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: only anonymous re-exports of traits are useful, this is a `struct`
|
|
|
|
|
|
|
|
error: useless anonymous re-export
|
|
|
|
--> $DIR/anonymous-reexport.rs:16:24
|
|
|
|
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _, Foo as _};
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: only anonymous re-exports of traits are useful, this is a `struct`
|
|
|
|
|
|
|
|
error: useless anonymous re-export
|
|
|
|
--> $DIR/anonymous-reexport.rs:17:24
|
|
|
|
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _, TyBar as _};
|
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: only anonymous re-exports of traits are useful, this is a `struct`
|
|
|
|
|
|
|
|
error: useless anonymous re-export
|
|
|
|
--> $DIR/anonymous-reexport.rs:17:34
|
|
|
|
|
|
|
|
|
LL | pub use self::my_mod::{Bar as _, TyBar as _};
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: only anonymous re-exports of traits are useful, this is a `type alias`
|
2023-03-10 15:20:29 -06:00
|
|
|
|
2023-03-12 09:23:32 -05:00
|
|
|
error: aborting due to 6 previous errors
|
2023-03-10 15:20:29 -06:00
|
|
|
|