@@ -9,7 +9,7 @@ LL | x.use
9
9
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
10
10
11
11
error[E0658]: ergonomic clones are experimental
12
- --> $DIR/feature-gate-ergonomic-clones.rs:18 :14
12
+ --> $DIR/feature-gate-ergonomic-clones.rs:21 :14
13
13
|
14
14
LL | let f2 = use || {
15
15
| ^^^
@@ -19,7 +19,7 @@ LL | let f2 = use || {
19
19
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
20
20
21
21
error[E0658]: ergonomic clones are experimental
22
- --> $DIR/feature-gate-ergonomic-clones.rs:23 :14
22
+ --> $DIR/feature-gate-ergonomic-clones.rs:26 :14
23
23
|
24
24
LL | let f3 = use || {
25
25
| ^^^
@@ -39,7 +39,17 @@ LL | use std::clone::UseCloned;
39
39
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
40
40
41
41
error[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
43
53
|
44
54
LL | impl UseCloned for Foo {}
45
55
| ^^^^^^^^^
@@ -48,6 +58,6 @@ LL | impl UseCloned for Foo {}
48
58
= help: add `#![feature(ergonomic_clones)]` 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: aborting due to 5 previous errors
61
+ error: aborting due to 6 previous errors
52
62
53
63
For more information about this error, try `rustc --explain E0658`.
0 commit comments