Update failing ui tests
This commit is contained in:
parent
ac4ea52980
commit
7b0fa085b0
@ -1,5 +1,5 @@
|
||||
// run-rustfix
|
||||
#![allow(unused, nonstandard_style)]
|
||||
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
|
||||
mod m {
|
||||
|
||||
mod p {
|
||||
|
@ -1,5 +1,5 @@
|
||||
// run-rustfix
|
||||
#![allow(unused, nonstandard_style)]
|
||||
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
|
||||
mod m {
|
||||
|
||||
mod p {
|
||||
|
@ -1,5 +1,5 @@
|
||||
// run-rustfix
|
||||
#![allow(unused, nonstandard_style)]
|
||||
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
|
||||
mod m {
|
||||
#[macro_export]
|
||||
macro_rules! nu {
|
||||
|
@ -1,5 +1,5 @@
|
||||
// run-rustfix
|
||||
#![allow(unused, nonstandard_style)]
|
||||
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
|
||||
mod m {
|
||||
#[macro_export]
|
||||
macro_rules! nu {
|
||||
|
@ -12,5 +12,10 @@ pub use self::my_mod::Foo as _;
|
||||
pub use self::my_mod::TyFoo as _;
|
||||
pub use self::my_mod::Bar as _; //~ ERROR
|
||||
pub use self::my_mod::TyBar as _; //~ ERROR
|
||||
pub use self::my_mod::{Bar as _}; //~ ERROR
|
||||
pub use self::my_mod::{Bar as _, Foo as _}; //~ ERROR
|
||||
pub use self::my_mod::{Bar as _, TyBar as _};
|
||||
//~^ ERROR
|
||||
//~| ERROR
|
||||
#[allow(unused_imports)]
|
||||
use self::my_mod::TyBar as _;
|
||||
|
@ -4,6 +4,7 @@ error: useless anonymous re-export
|
||||
LL | pub use self::my_mod::Bar as _;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: only anonymous re-exports of traits are useful, this is a `struct`
|
||||
note: the lint level is defined here
|
||||
--> $DIR/anonymous-reexport.rs:1:9
|
||||
|
|
||||
@ -15,6 +16,40 @@ error: useless anonymous re-export
|
||||
|
|
||||
LL | pub use self::my_mod::TyBar as _;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: only anonymous re-exports of traits are useful, this is a `type alias`
|
||||
|
||||
error: aborting due to 2 previous errors
|
||||
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`
|
||||
|
||||
error: aborting due to 6 previous errors
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user