summary refs log tree commit diff
path: root/compiler/rustc_metadata/src/rmeta/decoder
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-02-18 19:09:02 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2022-02-19 15:41:41 +0100
commit7bacdb760f18265b3a5d05406bf2cabb1d33bb5a (patch)
treeccaa4583f665a0d2a6f1d1d27c18f2f6d8f507a2 /compiler/rustc_metadata/src/rmeta/decoder
parentf8fd9733b600e5175fc6810b30f2e0e14e0aaf14 (diff)
downloadrust-7bacdb760f18265b3a5d05406bf2cabb1d33bb5a.tar.gz
rust-7bacdb760f18265b3a5d05406bf2cabb1d33bb5a.zip
Add rendered_const table.
Diffstat (limited to 'compiler/rustc_metadata/src/rmeta/decoder')
-rw-r--r--compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs b/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs
index 02652f84318..0a065dc1910 100644
--- a/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs
+++ b/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs
@@ -137,6 +137,7 @@ provide! { <'tcx> tcx, def_id, other, cdata,
     impl_constness => { table }
     coerce_unsized_info => { table }
     mir_const_qualif => { table }
+    rendered_const => { table }
 
     trait_def => { cdata.get_trait_def(def_id.index, tcx.sess) }
     adt_def => { cdata.get_adt_def(def_id.index, tcx) }
@@ -154,7 +155,6 @@ provide! { <'tcx> tcx, def_id, other, cdata,
     generator_kind => { cdata.generator_kind(def_id.index) }
     item_attrs => { tcx.arena.alloc_from_iter(cdata.get_item_attrs(def_id.index, tcx.sess)) }
     fn_arg_names => { cdata.get_fn_param_names(tcx, def_id.index) }
-    rendered_const => { cdata.get_rendered_const(def_id.index) }
     trait_of_item => { cdata.get_trait_of_item(def_id.index) }
     is_mir_available => { cdata.is_item_mir_available(def_id.index) }
     is_ctfe_mir_available => { cdata.is_ctfe_mir_available(def_id.index) }