Update expected error output.

This commit is contained in:
Adam Perry 2019-10-05 08:12:48 -07:00
parent 130be6d4b8
commit f70ed29fbd
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
trait Trait {
#[track_caller]
fn unwrap(&self);
//~^^ ERROR: `#[track_caller]` is not supported in traits yet.
//~^^ ERROR: `#[track_caller]` is not supported in trait declarations.
}
impl Trait for u64 {

View File

@ -6,7 +6,7 @@ LL | #![feature(track_caller)]
|
= note: `#[warn(incomplete_features)]` on by default
error[E0738]: `#[track_caller]` is not supported in traits yet.
error[E0738]: `#[track_caller]` is not supported in trait declarations.
--> $DIR/error-with-trait-default-impl.rs:4:5
|
LL | #[track_caller]