Add test for merged features
This commit is contained in:
parent
3c77b56d94
commit
9447d1f903
|
@ -0,0 +1,5 @@
|
|||
#![feature(doc_keyword)] //~ ERROR
|
||||
#![feature(doc_primitive)] //~ ERROR
|
||||
#![crate_type = "lib"]
|
||||
|
||||
pub fn foo() {}
|
|
@ -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`.
|
Loading…
Reference in a new issue