Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
23
tests/rustdoc/auxiliary/rustdoc-default-impl.rs
Normal file
23
tests/rustdoc/auxiliary/rustdoc-default-impl.rs
Normal file
|
@ -0,0 +1,23 @@
|
|||
#![feature(auto_traits)]
|
||||
|
||||
pub mod bar {
|
||||
use std::marker;
|
||||
|
||||
pub auto trait Bar {}
|
||||
|
||||
pub trait Foo {
|
||||
fn foo(&self) {}
|
||||
}
|
||||
|
||||
impl Foo {
|
||||
pub fn test<T: Bar>(&self) {}
|
||||
}
|
||||
|
||||
pub struct TypeId;
|
||||
|
||||
impl TypeId {
|
||||
pub fn of<T: Bar + ?Sized>() -> TypeId {
|
||||
panic!()
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue