blob: b4fca25ba2f11c586fa0a3ebdb395a5a4b53a497 [file] [log] [blame]
// run-rustfix
trait T {
unsafe fn foo(a: &usize, b: &usize) -> usize;
fn bar(&self, a: &usize, b: &usize) -> usize;
}
mod foo {
use super::T;
impl T for () {} //~ ERROR not all trait items
impl T for usize { //~ ERROR not all trait items
}
}
fn main() {}