Update rvalue_promotable_map

This commit is contained in:
John Kåre Alsaker 2018-11-30 17:45:33 +01:00
parent b8b4ad597a
commit d56d2fbaea
5 changed files with 7 additions and 9 deletions

View file

@ -504,7 +504,7 @@ rustc_queries! {
}
cache { true }
}
query rvalue_promotable_map(key: DefId) -> Lrc<ItemLocalSet> {
query rvalue_promotable_map(key: DefId) -> &'tcx ItemLocalSet {
desc { |tcx|
"checking which parts of `{}` are promotable to static",
tcx.def_path_str(key)