Commit 54aaf2f
authored
Rollup merge of #143532 - compiler-errors:mut-ref-sugg, r=davidtwco
More carefully consider span context when suggesting remove `&mut`
Use `find_ancestor_inside` to compute a relative span that is macro-aware, rather than falling back to using BytePos arithmetic which is wrong for `&mut`.
Fixes rust-lang/rust#143523File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments