forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
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
3c77b56
commit 9447d1f
Showing
2 changed files
with
24 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#![feature(doc_keyword)] //~ ERROR | ||
#![feature(doc_primitive)] //~ ERROR | ||
#![crate_type = "lib"] | ||
|
||
pub fn foo() {} |
19 changes: 19 additions & 0 deletions
19
src/test/ui/rustdoc/renamed-features-rustdoc_internals.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
error[E0557]: feature has been removed | ||
--> $DIR/renamed-features-rustdoc_internals.rs:1:12 | ||
| | ||
LL | #![feature(doc_keyword)] | ||
| ^^^^^^^^^^^ feature has been removed | ||
| | ||
= note: merged into `#![feature(rustdoc_internals)]` | ||
|
||
error[E0557]: feature has been removed | ||
--> $DIR/renamed-features-rustdoc_internals.rs:2:12 | ||
| | ||
LL | #![feature(doc_primitive)] | ||
| ^^^^^^^^^^^^^ feature has been removed | ||
| | ||
= note: merged into `#![feature(rustdoc_internals)]` | ||
|
||
error: aborting due to 2 previous errors | ||
|
||
For more information about this error, try `rustc --explain E0557`. |