1
Fork 0

update wording of lint

This commit is contained in:
Bryan Garza 2022-11-24 03:48:27 +00:00
parent dc2c4ce578
commit e28a07a0a1
4 changed files with 4 additions and 4 deletions

View file

@ -1409,7 +1409,7 @@ impl<'tcx> LateLintPass<'tcx> for UngatedAsyncFnTrackCaller {
|lint| {
lint.span_label(span, "this function will not propagate the caller location");
if cx.tcx.sess.is_nightly_build() {
lint.span_suggestion(attr.span, fluent::suggestion, "#[closure_track_caller]", Applicability::MachineApplicable);
lint.span_suggestion(attr.span, fluent::suggestion, "closure_track_caller", Applicability::MachineApplicable);
}
lint
}