Avoid silencing relevant follow-up errors
This commit is contained in:
parent
be00c5a9b8
commit
0978f6e010
184 changed files with 2700 additions and 631 deletions
|
@ -86,6 +86,8 @@ static A: () = ();
|
|||
//~^ ERROR attribute should be applied to a function
|
||||
impl Quux for u8 {}
|
||||
//~^ NOTE not a function
|
||||
//~| NOTE missing `foo` in implementation
|
||||
//~| ERROR missing: `foo`
|
||||
|
||||
#[target_feature(enable = "sse2")]
|
||||
//~^ ERROR attribute should be applied to a function
|
||||
|
@ -93,7 +95,7 @@ impl Foo {}
|
|||
//~^ NOTE not a function
|
||||
|
||||
trait Quux {
|
||||
fn foo();
|
||||
fn foo(); //~ NOTE `foo` from trait
|
||||
}
|
||||
|
||||
impl Quux for Foo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue