1
Fork 0

Test for misusing attribute

This commit is contained in:
Deadbeef 2021-07-10 15:58:16 +08:00
parent a79e08ca2a
commit 88b29f5fb2
No known key found for this signature in database
GPG key ID: 6525773485376D92
3 changed files with 47 additions and 1 deletions

View file

@ -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) -> () {