@@ -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+
2131error[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-
6161error: aborting due to 6 previous errors
6262
6363For more information about this error, try `rustc --explain E0658`.
0 commit comments