File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
test/ui/rfc-2091-track-caller Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2305,5 +2305,5 @@ See [RFC 2091] for details on this and other limitations.
2305
2305
E0726 , // non-explicit (not `'_`) elided lifetime in unsupported position
2306
2306
E0727 , // `async` generators are not yet supported
2307
2307
E0728 , // `await` must be in an `async` function or block
2308
- E0735 , // invalid track_caller application/syntax
2308
+ E0739 , // invalid track_caller application/syntax
2309
2309
}
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ impl CheckAttrVisitor<'tcx> {
143
143
struct_span_err ! (
144
144
self . tcx. sess,
145
145
attr. span,
146
- E0735 ,
146
+ E0739 ,
147
147
"attribute should be applied to function"
148
148
)
149
149
. span_label ( item. span , "not a function" )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ LL | #![feature(track_caller)]
6
6
|
7
7
= note: `#[warn(incomplete_features)]` on by default
8
8
9
- error[E0735 ]: attribute should be applied to function
9
+ error[E0739 ]: attribute should be applied to function
10
10
--> $DIR/only-for-fns.rs:3:1
11
11
|
12
12
LL | #[track_caller]
You can’t perform that action at this time.
0 commit comments