File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
compiler/rustc_middle/src/query Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -426,7 +426,7 @@ rustc_queries! {
426426 & ' tcx Steal <IndexVec <mir:: Promoted , mir:: Body <' tcx>>>
427427 ) {
428428 no_hash
429- desc { |tcx| "processing MIR for `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
429+ desc { |tcx| "promoting constants in MIR for `{}`" , tcx. def_path_str( key. to_def_id( ) ) }
430430 }
431431
432432 query closure_typeinfo( key: LocalDefId ) -> ty:: ClosureTypeInfo <' tcx> {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ LL | async fn foo(x: u32) -> u32 {
1818#3 [mir_built] building MIR for `foo`
1919#4 [unsafety_check_result] unsafety-checking `foo`
2020#5 [mir_const] preparing `foo` for borrow checking
21- #6 [mir_promoted] processing MIR for `foo`
21+ #6 [mir_promoted] promoting constants in MIR for `foo`
2222#7 [mir_borrowck] borrow-checking `foo`
2323#8 [type_of] computing type of `foo::{opaque#0}`
2424#9 [check_mod_item_types] checking item types in top-level module
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ note: ...which requires borrow-checking `cycle1`...
99 |
1010LL | fn cycle1() -> impl Clone {
1111 | ^^^^^^^^^^^^^^^^^^^^^^^^^
12- note: ...which requires processing MIR for `cycle1`...
12+ note: ...which requires promoting constants in MIR for `cycle1`...
1313 --> $DIR/auto-trait-leak.rs:12:1
1414 |
1515LL | fn cycle1() -> impl Clone {
@@ -55,7 +55,7 @@ note: ...which requires borrow-checking `cycle2`...
5555 |
5656LL | fn cycle2() -> impl Clone {
5757 | ^^^^^^^^^^^^^^^^^^^^^^^^^
58- note: ...which requires processing MIR for `cycle2`...
58+ note: ...which requires promoting constants in MIR for `cycle2`...
5959 --> $DIR/auto-trait-leak.rs:19:1
6060 |
6161LL | fn cycle2() -> impl Clone {
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ error: the compiler unexpectedly panicked. this is a bug.
99
1010query stack during panic:
1111#0 [mir_const] preparing `multiple_storage` for borrow checking
12- #1 [mir_promoted] processing MIR for `multiple_storage`
12+ #1 [mir_promoted] promoting constants in MIR for `multiple_storage`
1313end of query stack
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ note: ...which requires borrow-checking `Alpha::V3::{constant#0}`...
2929 |
3030LL | V3 = Self::V1 {} as u8 + 2,
3131 | ^^^^^^^^^^^^^^^^^^^^^
32- note: ...which requires processing MIR for `Alpha::V3::{constant#0}`...
32+ note: ...which requires promoting constants in MIR for `Alpha::V3::{constant#0}`...
3333 --> $DIR/self-in-enum-definition.rs:5:10
3434 |
3535LL | V3 = Self::V1 {} as u8 + 2,
You can’t perform that action at this time.
0 commit comments