diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2021-07-10 15:58:16 +0800 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2021-07-10 20:54:50 +0800 |
| commit | 88b29f5fb269eaf3463225b4bf6a04c2ed07669f (patch) | |
| tree | d2f2304da62dac1c8e9fe8fb5c193036de02ad9d /compiler/rustc_middle/src/query | |
| parent | a79e08ca2ab4fcc2fd32296e652b62deef0f7c64 (diff) | |
| download | rust-88b29f5fb269eaf3463225b4bf6a04c2ed07669f.tar.gz rust-88b29f5fb269eaf3463225b4bf6a04c2ed07669f.zip | |
Test for misusing attribute
Diffstat (limited to 'compiler/rustc_middle/src/query')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 1a1bb37f70a..c3b13278c00 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -1137,7 +1137,7 @@ rustc_queries! { } query impl_constness(def_id: DefId) -> hir::Constness { - desc { |tcx| "looking up whether `{}` is a default impl", tcx.def_path_str(def_id) } + desc { |tcx| "looking up whether `{}` is a const impl", tcx.def_path_str(def_id) } } query check_item_well_formed(key: LocalDefId) -> () { |
