blob: 4e9dcc167b7b6c9db34f5b652d28f756f1efcfaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#[lang = "sized"]
pub trait Sized {}
trait Foo {
const A: i32;
fn test(self);
}
struct Bar;
impl Foo for Bar {}
// { dg-error "missing A, test in implementation of trait .Foo." "" { target *-*-* } .-1 }
|