Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b81a17
commit 88b77b6
Showing
2 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 28 additions & 4 deletions
32
src/test/ui/stability-attribute/generics-default-stability.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,51 @@ | ||
error[E0658]: use of unstable library feature 'unstable_default' | ||
--> $DIR/generics-default-stability.rs:15:13 | ||
--> $DIR/generics-default-stability.rs:16:13 | ||
| | ||
LL | impl Trait1<usize> for S { | ||
| ^^^^^ | ||
| | ||
= help: add `#![feature(unstable_default)]` to the crate attributes to enable | ||
|
||
error[E0658]: use of unstable library feature 'unstable_default' | ||
--> $DIR/generics-default-stability.rs:19:13 | ||
--> $DIR/generics-default-stability.rs:20:13 | ||
| | ||
LL | impl Trait1<isize> for S { | ||
| ^^^^^ | ||
| | ||
= help: add `#![feature(unstable_default)]` to the crate attributes to enable | ||
|
||
error[E0658]: use of unstable library feature 'unstable_default' | ||
--> $DIR/generics-default-stability.rs:23:13 | ||
--> $DIR/generics-default-stability.rs:24:13 | ||
| | ||
LL | impl Trait2<usize> for S { | ||
| ^^^^^ | ||
| | ||
= help: add `#![feature(unstable_default)]` to the crate attributes to enable | ||
|
||
error: aborting due to 3 previous errors | ||
error[E0658]: use of unstable library feature 'unstable_default' | ||
--> $DIR/generics-default-stability.rs:37:20 | ||
| | ||
LL | let _: Struct1<isize> = Struct1 { field: 1 }; | ||
| ^^^^^ | ||
| | ||
= help: add `#![feature(unstable_default)]` to the crate attributes to enable | ||
|
||
error[E0658]: use of unstable library feature 'unstable_default' | ||
--> $DIR/generics-default-stability.rs:41:20 | ||
| | ||
LL | let _: Struct1<usize> = STRUCT1; | ||
| ^^^^^ | ||
| | ||
= help: add `#![feature(unstable_default)]` to the crate attributes to enable | ||
|
||
error[E0658]: use of unstable library feature 'unstable_default' | ||
--> $DIR/generics-default-stability.rs:42:20 | ||
| | ||
LL | let _: Struct1<usize> = STRUCT1; | ||
| ^^^^^ | ||
| | ||
= help: add `#![feature(unstable_default)]` to the crate attributes to enable | ||
|
||
error: aborting due to 6 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0658`. |