Skip to content

Commit f70ed29

Browse files
committed
Update expected error output.
1 parent 130be6d commit f70ed29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/rfc-2091-track-caller/error-with-trait-decl.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
trait Trait {
44
#[track_caller]
55
fn unwrap(&self);
6-
//~^^ ERROR: `#[track_caller]` is not supported in traits yet.
6+
//~^^ ERROR: `#[track_caller]` is not supported in trait declarations.
77
}
88

99
impl Trait for u64 {

src/test/ui/rfc-2091-track-caller/error-with-trait-default-impl.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | #![feature(track_caller)]
66
|
77
= note: `#[warn(incomplete_features)]` on by default
88

9-
error[E0738]: `#[track_caller]` is not supported in traits yet.
9+
error[E0738]: `#[track_caller]` is not supported in trait declarations.
1010
--> $DIR/error-with-trait-default-impl.rs:4:5
1111
|
1212
LL | #[track_caller]

0 commit comments

Comments
 (0)