@@ -9,7 +9,7 @@ LL | x.use
99 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
1111error[E0658]: ergonomic clones are experimental
12- --> $DIR/feature-gate-ergonomic-clones.rs:18 :14
12+ --> $DIR/feature-gate-ergonomic-clones.rs:21 :14
1313 |
1414LL | let f2 = use || {
1515 | ^^^
@@ -19,7 +19,7 @@ LL | let f2 = use || {
1919 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2020
2121error[E0658]: ergonomic clones are experimental
22- --> $DIR/feature-gate-ergonomic-clones.rs:23 :14
22+ --> $DIR/feature-gate-ergonomic-clones.rs:26 :14
2323 |
2424LL | let f3 = use || {
2525 | ^^^
@@ -39,7 +39,17 @@ LL | use std::clone::UseCloned;
3939 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4040
4141error[E0658]: use of unstable library feature `ergonomic_clones`
42- --> $DIR/feature-gate-ergonomic-clones.rs:12:6
42+ --> $DIR/feature-gate-ergonomic-clones.rs:12:11
43+ |
44+ LL | fn foo<T: UseCloned>() {}
45+ | ^^^^^^^^^
46+ |
47+ = note: see issue #132290 <https://github.com/rust-lang/rust/issues/132290> for more information
48+ = help: add `#![feature(ergonomic_clones)]` to the crate attributes to enable
49+ = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
50+
51+ error[E0658]: use of unstable library feature `ergonomic_clones`
52+ --> $DIR/feature-gate-ergonomic-clones.rs:15:6
4353 |
4454LL | impl UseCloned for Foo {}
4555 | ^^^^^^^^^
@@ -48,6 +58,6 @@ LL | impl UseCloned for Foo {}
4858 = help: add `#![feature(ergonomic_clones)]` 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: aborting due to 5 previous errors
61+ error: aborting due to 6 previous errors
5262
5363For more information about this error, try `rustc --explain E0658`.
0 commit comments