Update bad-annotation error message
This commit is contained in:
parent
b575c18992
commit
25bf73d31c
@ -28,7 +28,7 @@ trait BadAnnotation1
|
||||
{}
|
||||
|
||||
#[rustc_on_unimplemented = "Unimplemented trait error on `{Self}` with params `<{A},{B},{C}>`"]
|
||||
//~^ ERROR there is no type parameter C on trait BadAnnotation2
|
||||
//~^ ERROR there is no parameter C on trait BadAnnotation2
|
||||
trait BadAnnotation2<A,B>
|
||||
{}
|
||||
|
||||
|
@ -6,7 +6,7 @@ LL | #[rustc_on_unimplemented] //~ ERROR `#[rustc_on_unimplemented]` requires a
|
||||
|
|
||||
= note: eg `#[rustc_on_unimplemented = "foo"]`
|
||||
|
||||
error[E0230]: there is no type parameter C on trait BadAnnotation2
|
||||
error[E0230]: there is no parameter C on trait BadAnnotation2
|
||||
--> $DIR/bad-annotation.rs:30:1
|
||||
|
|
||||
LL | #[rustc_on_unimplemented = "Unimplemented trait error on `{Self}` with params `<{A},{B},{C}>`"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user