1
Fork 0

Avoid silencing relevant follow-up errors

This commit is contained in:
Oli Scherer 2023-10-31 13:45:26 +00:00
parent be00c5a9b8
commit 0978f6e010
184 changed files with 2700 additions and 631 deletions

View file

@ -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 {