about summary refs log tree commit diff
path: root/compiler/rustc_infer/src
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2023-03-04 04:25:36 +0100
committerest31 <MTest31@outlook.com>2023-03-11 20:40:18 +0100
commit7f4cc178f07fca98aee1b58bb4f82b2f45f8afac (patch)
tree41c6dcf644b73c38a8246ce82c1061814231d016 /compiler/rustc_infer/src
parent7a686bf41dbaf065203336c1e99e0406de621587 (diff)
downloadrust-7f4cc178f07fca98aee1b58bb4f82b2f45f8afac.tar.gz
rust-7f4cc178f07fca98aee1b58bb4f82b2f45f8afac.zip
Address the new odd backticks tidy lint in compiler/
Diffstat (limited to 'compiler/rustc_infer/src')
-rw-r--r--compiler/rustc_infer/src/infer/error_reporting/nice_region_error/static_impl_trait.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/error_reporting/nice_region_error/static_impl_trait.rs b/compiler/rustc_infer/src/infer/error_reporting/nice_region_error/static_impl_trait.rs
index b06ff10d86e..22c1e387117 100644
--- a/compiler/rustc_infer/src/infer/error_reporting/nice_region_error/static_impl_trait.rs
+++ b/compiler/rustc_infer/src/infer/error_reporting/nice_region_error/static_impl_trait.rs
@@ -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: