Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
10
tests/rustdoc/const.rs
Normal file
10
tests/rustdoc/const.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
#![crate_type="lib"]
|
||||
|
||||
pub struct Foo;
|
||||
|
||||
impl Foo {
|
||||
// @has const/struct.Foo.html '//*[@id="method.new"]//h4[@class="code-header"]' 'const unsafe fn new'
|
||||
pub const unsafe fn new() -> Foo {
|
||||
Foo
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue