about summary refs log tree commit diff
path: root/src/librustc/query
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2018-11-30 17:45:33 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-04-25 18:23:33 +0200
commitd56d2fbaeac03d5f9cdebf65071ec199b8b80c4e (patch)
tree75a45947bcc386060baf8eab8d8baee6c8dbff8d /src/librustc/query
parentb8b4ad597a2eac24452e2e78f7b043805f2bb846 (diff)
downloadrust-d56d2fbaeac03d5f9cdebf65071ec199b8b80c4e.tar.gz
rust-d56d2fbaeac03d5f9cdebf65071ec199b8b80c4e.zip
Update rvalue_promotable_map
Diffstat (limited to 'src/librustc/query')
-rw-r--r--src/librustc/query/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/query/mod.rs b/src/librustc/query/mod.rs
index 4311cfbe2b1..18c977c43a7 100644
--- a/src/librustc/query/mod.rs
+++ b/src/librustc/query/mod.rs
@@ -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)