You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#139459 - compiler-errors:incr-tainting, r=<try>
Stop dirtying incremental with span access when computing region scope span
This probably won't do any good, but I saw the `mir_build` query being recomputed in incremental a lot b/c it accesses untracked span data via the `SourceMap::end_point` method.
There may be a smarter way to compute this w/o needing to do span computations which negatively affect incremental.
r? `@ghost`
Copy file name to clipboardExpand all lines: tests/ui/borrowck/issue-47646.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ LL | println!("{:?}", heap);
11
11
| ^^^^ immutable borrow occurs here
12
12
...
13
13
LL | };
14
-
| - ... and the mutable borrow might be used here, when that temporary is dropped and runs the destructor for type `(Option<PeekMut<'_, i32>>, ())`
14
+
| - ... and the mutable borrow might be used here, when that temporary is dropped and runs the destructor for type `(Option<PeekMut<'_, i32>>, ())`
15
15
|
16
16
= note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
Copy file name to clipboardExpand all lines: tests/ui/borrowck/issue-82462.stderr
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ LL | v.push(*x);
10
10
| ^^^^^^^^^^ mutable borrow occurs here
11
11
LL | break;
12
12
LL | }
13
-
| - ... and the immutable borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `DroppingSlice`
13
+
| - ... and the immutable borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `DroppingSlice`
14
14
|
15
15
help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
0 commit comments