Skip to content

Commit a76dae4

Browse files
committed
Fix wording of query description
1 parent 9eaec13 commit a76dae4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

compiler/rustc_middle/src/query/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ rustc_queries! {
315315
query mir_for_ctfe(
316316
key: DefId
317317
) -> &'tcx mir::Body<'tcx> {
318-
desc { |tcx| "caching mir for `{}` for CTFE", tcx.def_path_str(key) }
318+
desc { |tcx| "caching mir of `{}` for CTFE", tcx.def_path_str(key) }
319319
cache_on_disk_if { key.is_local() }
320320
}
321321

src/test/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ note: ...which requires const-evaluating + checking `<impl at $DIR/issue-24949-a
3030
|
3131
LL | const BAR: u32 = IMPL_REF_BAR;
3232
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33-
note: ...which requires caching mir for `<impl at $DIR/issue-24949-assoc-const-static-recursion-impl.rs:11:1: 13:2>::BAR` for CTFE...
33+
note: ...which requires caching mir of `<impl at $DIR/issue-24949-assoc-const-static-recursion-impl.rs:11:1: 13:2>::BAR` for CTFE...
3434
--> $DIR/issue-24949-assoc-const-static-recursion-impl.rs:12:5
3535
|
3636
LL | const BAR: u32 = IMPL_REF_BAR;

src/test/ui/associated-consts/issue-24949-assoc-const-static-recursion-trait-default.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ note: ...which requires const-evaluating + checking `FooDefault::BAR`...
3030
|
3131
LL | const BAR: u32 = DEFAULT_REF_BAR;
3232
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33-
note: ...which requires caching mir for `FooDefault::BAR` for CTFE...
33+
note: ...which requires caching mir of `FooDefault::BAR` for CTFE...
3434
--> $DIR/issue-24949-assoc-const-static-recursion-trait-default.rs:8:5
3535
|
3636
LL | const BAR: u32 = DEFAULT_REF_BAR;

src/test/ui/associated-consts/issue-24949-assoc-const-static-recursion-trait.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ note: ...which requires const-evaluating + checking `<impl at $DIR/issue-24949-a
3030
|
3131
LL | const BAR: u32 = TRAIT_REF_BAR;
3232
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33-
note: ...which requires caching mir for `<impl at $DIR/issue-24949-assoc-const-static-recursion-trait.rs:11:1: 13:2>::BAR` for CTFE...
33+
note: ...which requires caching mir of `<impl at $DIR/issue-24949-assoc-const-static-recursion-trait.rs:11:1: 13:2>::BAR` for CTFE...
3434
--> $DIR/issue-24949-assoc-const-static-recursion-trait.rs:12:5
3535
|
3636
LL | const BAR: u32 = TRAIT_REF_BAR;

0 commit comments

Comments
 (0)