Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
|
@ -1,20 +0,0 @@
|
|||
#![crate_type = "lib"]
|
||||
#![feature(rustdoc_internals)]
|
||||
|
||||
#![doc(keyword = "hello")] //~ ERROR
|
||||
|
||||
#[doc(keyword = "hell")] //~ ERROR
|
||||
mod foo {
|
||||
fn hell() {}
|
||||
}
|
||||
|
||||
#[doc(keyword = "hall")] //~ ERROR
|
||||
fn foo() {}
|
||||
|
||||
|
||||
// Regression test for the ICE described in #83512.
|
||||
trait Foo {
|
||||
#[doc(keyword = "match")]
|
||||
//~^ ERROR: `#[doc(keyword = "...")]` should be used on modules
|
||||
fn quux() {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue