diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-06-04 21:37:05 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-06-04 21:37:34 +0200 |
| commit | 507a1fdf138b6247e0c31bcc00e844f5293c8394 (patch) | |
| tree | c48c553766a0f11c1e53cb3843116c069930259a /compiler/rustc_metadata | |
| parent | 835150e70288535bc57bb624792229b9dc94991d (diff) | |
| download | rust-507a1fdf138b6247e0c31bcc00e844f5293c8394.tar.gz rust-507a1fdf138b6247e0c31bcc00e844f5293c8394.zip | |
Always go through the expn_that_defined query.
Diffstat (limited to 'compiler/rustc_metadata')
| -rw-r--r-- | compiler/rustc_metadata/src/rmeta/encoder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/encoder.rs b/compiler/rustc_metadata/src/rmeta/encoder.rs index 2fd9a46cf42..0883977821a 100644 --- a/compiler/rustc_metadata/src/rmeta/encoder.rs +++ b/compiler/rustc_metadata/src/rmeta/encoder.rs @@ -942,7 +942,7 @@ impl EncodeContext<'a, 'tcx> { }); record!(self.tables.span[def_id] <- tcx.def_span(def_id)); record!(self.tables.attributes[def_id] <- tcx.get_attrs(def_id)); - record!(self.tables.expn_that_defined[def_id] <- self.tcx.expansion_that_defined(def_id)); + record!(self.tables.expn_that_defined[def_id] <- self.tcx.expn_that_defined(def_id)); if should_encode_visibility(def_kind) { record!(self.tables.visibility[def_id] <- self.tcx.visibility(def_id)); } |
