1
Fork 0

Address the new odd backticks tidy lint in compiler/

This commit is contained in:
est31 2023-03-04 04:25:36 +01:00
parent 7a686bf41d
commit 7f4cc178f0
9 changed files with 10 additions and 6 deletions

View file

@ -104,7 +104,7 @@ impl<'a, 'tcx> NiceRegionError<'a, 'tcx> {
let (mention_influencer, influencer_point) =
if sup_origin.span().overlaps(param.param_ty_span) {
// Account for `async fn` like in `async-await/issues/issue-62097.rs`.
// The desugaring of `async `fn`s causes `sup_origin` and `param` to point at the same
// The desugaring of `async fn`s causes `sup_origin` and `param` to point at the same
// place (but with different `ctxt`, hence `overlaps` instead of `==` above).
//
// This avoids the following: