mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
Add test for rustdoc new check pass
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
#![feature(box_syntax)]
|
||||
#![feature(box_syntax)] //~ ERROR
|
||||
|
||||
pub fn foo() {}
|
||||
@@ -0,0 +1,9 @@
|
||||
error[E0636]: the feature `box_syntax` has already been declared
|
||||
--> $DIR/rustc-check-passes.rs:2:12
|
||||
|
|
||||
LL | #![feature(box_syntax)]
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0636`.
|
||||
Reference in New Issue
Block a user