mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 16:31:32 +00:00
19 lines
196 B
Plaintext
19 lines
196 B
Plaintext
//@ run-rustfix
|
|
|
|
#![allow(warnings)]
|
|
|
|
struct Bar;
|
|
|
|
trait Foo {
|
|
fn foo();
|
|
}
|
|
|
|
impl Bar {} //~ ERROR E0449
|
|
|
|
impl Foo for Bar { //~ ERROR E0449
|
|
fn foo() {} //~ ERROR E0449
|
|
}
|
|
|
|
fn main() {
|
|
}
|