diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2018-11-30 17:45:33 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-04-25 18:23:33 +0200 |
| commit | d56d2fbaeac03d5f9cdebf65071ec199b8b80c4e (patch) | |
| tree | 75a45947bcc386060baf8eab8d8baee6c8dbff8d /src/librustc/query | |
| parent | b8b4ad597a2eac24452e2e78f7b043805f2bb846 (diff) | |
| download | rust-d56d2fbaeac03d5f9cdebf65071ec199b8b80c4e.tar.gz rust-d56d2fbaeac03d5f9cdebf65071ec199b8b80c4e.zip | |
Update rvalue_promotable_map
Diffstat (limited to 'src/librustc/query')
| -rw-r--r-- | src/librustc/query/mod.rs | 2 |
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) |
