Update expected error output.
This commit is contained in:
parent
130be6d4b8
commit
f70ed29fbd
@ -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 {
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user