|
1 |
| -error[E0658]: use of unstable library feature `feat_foo` |
2 |
| - --> $DIR/unstable-feature-bound.rs:3:1 |
3 |
| - | |
4 |
| -LL | extern crate unstable_feature; |
5 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
6 |
| - | |
7 |
| - = help: add `#![feature(feat_foo)]` to the crate attributes to enable |
8 |
| - = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
9 |
| - |
10 |
| -error[E0658]: use of unstable library feature `feat_foo` |
11 |
| - --> $DIR/unstable-feature-bound.rs:4:24 |
12 |
| - | |
13 |
| -LL | use unstable_feature::{Foo, Bar}; |
14 |
| - | ^^^ |
15 |
| - | |
16 |
| - = help: add `#![feature(feat_foo)]` to the crate attributes to enable |
17 |
| - = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
18 |
| - |
19 |
| -error[E0658]: use of unstable library feature `feat_foo` |
20 |
| - --> $DIR/unstable-feature-bound.rs:4:29 |
21 |
| - | |
22 |
| -LL | use unstable_feature::{Foo, Bar}; |
23 |
| - | ^^^ |
24 |
| - | |
25 |
| - = help: add `#![feature(feat_foo)]` to the crate attributes to enable |
26 |
| - = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
27 |
| - |
28 |
| -error[E0658]: use of unstable library feature `feat_foo` |
29 |
| - --> $DIR/unstable-feature-bound.rs:4:29 |
30 |
| - | |
31 |
| -LL | use unstable_feature::{Foo, Bar}; |
32 |
| - | ^^^ |
33 |
| - | |
34 |
| - = help: add `#![feature(feat_foo)]` to the crate attributes to enable |
35 |
| - = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
36 |
| - = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` |
37 |
| - |
38 |
| -error[E0658]: use of unstable library feature `feat_foo` |
39 |
| - --> $DIR/unstable-feature-bound.rs:9:5 |
40 |
| - | |
41 |
| -LL | Bar::foo(); |
42 |
| - | ^^^ |
43 |
| - | |
44 |
| - = help: add `#![feature(feat_foo)]` to the crate attributes to enable |
45 |
| - = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
46 |
| - |
47 |
| -error[E0658]: use of unstable library feature `feat_foo` |
48 |
| - --> $DIR/unstable-feature-bound.rs:9:5 |
49 |
| - | |
50 |
| -LL | Bar::foo(); |
51 |
| - | ^^^^^^^^ |
52 |
| - | |
53 |
| - = help: add `#![feature(feat_foo)]` to the crate attributes to enable |
54 |
| - = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
55 |
| - |
56 | 1 | error[E0284]: type annotations needed: cannot satisfy `unstable feature: `feat_foo``
|
57 |
| - --> $DIR/unstable-feature-bound.rs:9:5 |
| 2 | + --> $DIR/unstable-feature-bound.rs:7:5 |
58 | 3 | |
|
59 | 4 | LL | Bar::foo();
|
60 | 5 | | ^^^ cannot satisfy `unstable feature: `feat_foo``
|
61 | 6 | |
|
62 | 7 | = note: required for `Bar` to implement `Foo`
|
63 | 8 |
|
64 |
| -error: aborting due to 7 previous errors |
| 9 | +error: aborting due to 1 previous error |
65 | 10 |
|
66 |
| -Some errors have detailed explanations: E0284, E0658. |
67 |
| -For more information about an error, try `rustc --explain E0284`. |
| 11 | +For more information about this error, try `rustc --explain E0284`. |
0 commit comments