]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stability-attribute/default-body-stability-err.rs
Auto merge of #103894 - mati865:gnullvm-libunwind-changes, r=thomcc
[rust.git] / src / test / ui / stability-attribute / default-body-stability-err.rs
1 // aux-build:default_body.rs
2 #![crate_type = "lib"]
3
4 extern crate default_body;
5
6 use default_body::{Equal, JustTrait};
7
8 struct Type;
9
10 impl JustTrait for Type {}
11 //~^ ERROR not all trait items implemented, missing: `CONSTANT` [E0046]
12 //~| ERROR not all trait items implemented, missing: `fun` [E0046]
13
14 impl Equal for Type {
15     //~^ ERROR not all trait items implemented, missing: `eq` [E0046]
16     fn neq(&self, other: &Self) -> bool {
17         false
18     }
19 }