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! {
426
426
& ' tcx Steal <IndexVec <mir:: Promoted , mir:: Body <' tcx>>>
427
427
) {
428
428
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( ) ) }
430
430
}
431
431
432
432
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 {
18
18
#3 [mir_built] building MIR for `foo`
19
19
#4 [unsafety_check_result] unsafety-checking `foo`
20
20
#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`
22
22
#7 [mir_borrowck] borrow-checking `foo`
23
23
#8 [type_of] computing type of `foo::{opaque#0}`
24
24
#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`...
9
9
|
10
10
LL | fn cycle1() -> impl Clone {
11
11
| ^^^^^^^^^^^^^^^^^^^^^^^^^
12
- note: ...which requires processing MIR for `cycle1`...
12
+ note: ...which requires promoting constants in MIR for `cycle1`...
13
13
--> $DIR/auto-trait-leak.rs:12:1
14
14
|
15
15
LL | fn cycle1() -> impl Clone {
@@ -55,7 +55,7 @@ note: ...which requires borrow-checking `cycle2`...
55
55
|
56
56
LL | fn cycle2() -> impl Clone {
57
57
| ^^^^^^^^^^^^^^^^^^^^^^^^^
58
- note: ...which requires processing MIR for `cycle2`...
58
+ note: ...which requires promoting constants in MIR for `cycle2`...
59
59
--> $DIR/auto-trait-leak.rs:19:1
60
60
|
61
61
LL | 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.
9
9
10
10
query stack during panic:
11
11
#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`
13
13
end 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}`...
29
29
|
30
30
LL | V3 = Self::V1 {} as u8 + 2,
31
31
| ^^^^^^^^^^^^^^^^^^^^^
32
- note: ...which requires processing MIR for `Alpha::V3::{constant#0}`...
32
+ note: ...which requires promoting constants in MIR for `Alpha::V3::{constant#0}`...
33
33
--> $DIR/self-in-enum-definition.rs:5:10
34
34
|
35
35
LL | V3 = Self::V1 {} as u8 + 2,
You can’t perform that action at this time.
0 commit comments