Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
26
tests/ui/traits/impl-implicit-trait.rs
Normal file
26
tests/ui/traits/impl-implicit-trait.rs
Normal file
|
@ -0,0 +1,26 @@
|
|||
// run-pass
|
||||
#![allow(dead_code)]
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
enum option_<T> {
|
||||
none_,
|
||||
some_(T),
|
||||
}
|
||||
|
||||
impl<T> option_<T> {
|
||||
pub fn foo(&self) -> bool { true }
|
||||
}
|
||||
|
||||
enum option__ {
|
||||
none__,
|
||||
some__(isize)
|
||||
}
|
||||
|
||||
impl option__ {
|
||||
pub fn foo(&self) -> bool { true }
|
||||
}
|
||||
|
||||
pub fn main() {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue