os-rust/tests/ui/traits/impl-implicit-trait.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
335 B
Rust
Raw Normal View History

//@ run-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]
//@ pretty-expanded FIXME #23616
2012-08-07 13:01:15 -07:00
enum option_<T> {
none_,
some_(T),
}
impl<T> option_<T> {
pub fn foo(&self) -> bool { true }
2012-08-07 13:01:15 -07:00
}
enum option__ {
none__,
some__(isize)
2012-08-07 13:01:15 -07:00
}
impl option__ {
pub fn foo(&self) -> bool { true }
2012-08-07 13:01:15 -07:00
}
pub fn main() {
}