summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0449.rs
blob: eba0d479e97125e77821e97bce33ad7ee416fdc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct Bar;

trait Foo {
    fn foo();
}

pub impl Bar {} //~ ERROR E0449

pub impl Foo for Bar { //~ ERROR E0449
    pub fn foo() {} //~ ERROR E0449
}

fn main() {
}