blob: c986ef6e5118fafa8a5995bcf9e515e7f1935c9e [file] [log] [blame]
struct MyStruct;
impl MyStruct {
pub fn do_something(*mut self) {}
// { dg-error "cannot pass .self. by raw pointer" "" { target *-*-* } .-1 }
// { dg-error "failed to parse inherent impl item in inherent impl" "" { target *-*-* } .-2 }
}