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.
23052305 E0726 , // non-explicit (not `'_`) elided lifetime in unsupported position
23062306 E0727 , // `async` generators are not yet supported
23072307 E0728 , // `await` must be in an `async` function or block
2308- E0735 , // invalid track_caller application/syntax
2308+ E0739 , // invalid track_caller application/syntax
23092309}
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ impl CheckAttrVisitor<'tcx> {
143143 struct_span_err ! (
144144 self . tcx. sess,
145145 attr. span,
146- E0735 ,
146+ E0739 ,
147147 "attribute should be applied to function"
148148 )
149149 . 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)]
66 |
77 = note: `#[warn(incomplete_features)]` on by default
88
9- error[E0735 ]: attribute should be applied to function
9+ error[E0739 ]: attribute should be applied to function
1010 --> $DIR/only-for-fns.rs:3:1
1111 |
1212LL | #[track_caller]
You can’t perform that action at this time.
0 commit comments