mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
11 lines
202 B
Rust
11 lines
202 B
Rust
// run-pass
|
|
#![allow(non_camel_case_types)]
|
|
|
|
// Issue #1761
|
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
impl foo for isize { fn foo(&self) -> isize { 10 } }
|
|
trait foo { fn foo(&self) -> isize; }
|
|
pub fn main() {}
|