Skip to content

Commit 3378f79

Browse files
bless test
1 parent eda3931 commit 3378f79

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/ui/feature-gates/feature-gate-import-trait-associated-functions.stderr

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ LL | use A::{DEFAULT, new};
1818
= help: add `#![feature(import_trait_associated_functions)]` to the crate attributes to enable
1919
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020

21+
error[E0658]: `use` associated items of traits is unstable
22+
--> $DIR/feature-gate-import-trait-associated-functions.rs:7:5
23+
|
24+
LL | use Default::default;
25+
| ^^^^^^^^^^^^^^^^
26+
|
27+
= note: see issue #134691 <https://github.com/rust-lang/rust/issues/134691> for more information
28+
= help: add `#![feature(import_trait_associated_functions)]` to the crate attributes to enable
29+
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
30+
2131
error[E0658]: `use` associated items of traits is unstable
2232
--> $DIR/feature-gate-import-trait-associated-functions.rs:27:26
2333
|
@@ -48,16 +58,6 @@ LL | use Glob::*;
4858
= help: add `#![feature(import_trait_associated_functions)]` to the crate attributes to enable
4959
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5060

51-
error[E0658]: `use` associated items of traits is unstable
52-
--> $DIR/feature-gate-import-trait-associated-functions.rs:7:5
53-
|
54-
LL | use Default::default;
55-
| ^^^^^^^^^^^^^^^^
56-
|
57-
= note: see issue #134691 <https://github.com/rust-lang/rust/issues/134691> for more information
58-
= help: add `#![feature(import_trait_associated_functions)]` to the crate attributes to enable
59-
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
60-
6161
error: aborting due to 6 previous errors
6262

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

0 commit comments

Comments
 (0)