Switch query descriptions to just String
In practice we never used the borrowed variant anyway.
This commit is contained in:
parent
921ec4b3fc
commit
f564d7abba
5 changed files with 5 additions and 8 deletions
|
@ -13,7 +13,6 @@ use rustc_hir::def_id::{CrateNum, DefId, LocalDefId};
|
|||
use rustc_query_system::query::QueryDescription;
|
||||
|
||||
use rustc_span::symbol::Symbol;
|
||||
use std::borrow::Cow;
|
||||
|
||||
fn describe_as_module(def_id: LocalDefId, tcx: TyCtxt<'_>) -> String {
|
||||
if def_id.is_top_level_module() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue