mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 21:53:23 +00:00
14 lines
151 B
Rust
14 lines
151 B
Rust
|
pub trait Trait {
|
||
|
fn f();
|
||
|
}
|
||
|
|
||
|
impl Trait for usize {
|
||
|
fn f() {
|
||
|
extern "C" {
|
||
|
fn g() -> usize;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fn main() {}
|