@@ -18,6 +18,16 @@ LL | use A::{DEFAULT, new};
18
18
= help: add `#![feature(import_trait_associated_functions)]` to the crate attributes to enable
19
19
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
20
20
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
+
21
31
error[E0658]: `use` associated items of traits is unstable
22
32
--> $DIR/feature-gate-import-trait-associated-functions.rs:27:26
23
33
|
@@ -48,16 +58,6 @@ LL | use Glob::*;
48
58
= help: add `#![feature(import_trait_associated_functions)]` to the crate attributes to enable
49
59
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
50
60
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
-
61
61
error: aborting due to 6 previous errors
62
62
63
63
For more information about this error, try `rustc --explain E0658`.
0 commit comments