|
1 |
| -error[E0646]: `main` function is not allowed to have a `where` clause |
2 |
| - --> $DIR/unstable-feature-bound.rs:10:10 |
| 1 | +error[E0658]: use of unstable library feature `feat_foo` |
| 2 | + --> $DIR/unstable-feature-bound.rs:3:1 |
3 | 3 | |
|
4 |
| -LL | fn main() { |
5 |
| - | ^ `main` cannot have a `where` clause |
| 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 | +error[E0284]: type annotations needed: cannot satisfy `unstable feature: `feat_foo`` |
| 57 | + --> $DIR/unstable-feature-bound.rs:9:5 |
| 58 | + | |
| 59 | +LL | Bar::foo(); |
| 60 | + | ^^^ cannot satisfy `unstable feature: `feat_foo`` |
| 61 | + | |
| 62 | + = note: required for `Bar` to implement `Foo` |
6 | 63 |
|
7 |
| -error: aborting due to 1 previous error |
| 64 | +error: aborting due to 7 previous errors |
8 | 65 |
|
9 |
| -For more information about this error, try `rustc --explain E0646`. |
| 66 | +Some errors have detailed explanations: E0284, E0658. |
| 67 | +For more information about an error, try `rustc --explain E0284`. |
0 commit comments