rust/compiler/rustc_const_eval/src/interpret
Aaron Hill 450ef8613c
Store a Symbol instead of an Ident in VariantDef/FieldDef
The field is also renamed from `ident` to `name. In most cases,
we don't actually need the `Span`. A new `ident` method is added
to `VariantDef` and `FieldDef`, which constructs the full `Ident`
using `tcx.def_ident_span()`. This method is used in the cases
where we actually need an `Ident`.

This makes incremental compilation properly track changes
to the `Span`, without all of the invalidations caused by storing
a `Span` directly via an `Ident`.
2022-01-11 10:16:22 -05:00
..
intrinsics Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk 2021-12-19 09:31:37 +00:00
cast.rs Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00
eval_context.rs rename StackPopClean::None to Root 2022-01-04 11:13:08 +01:00
intern.rs Remove in_band_lifetimes from rustc_const_eval 2021-12-13 22:39:00 -05:00
intrinsics.rs Rollup merge of #91814 - japm48:spelling-fix, r=RalfJung 2021-12-12 07:45:30 +01:00
machine.rs Rollup merge of #90102 - nbdd0121:box3, r=jonas-schievink 2022-01-03 14:44:15 +01:00
memory.rs fix ICE on Miri/CTFE copy of half a pointer 2021-11-13 20:56:01 -05:00
mod.rs Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00
operand.rs Remove in_band_lifetimes from rustc_const_eval 2021-12-13 22:39:00 -05:00
operator.rs comment update 2021-12-14 19:29:29 +03:00
place.rs miri: lift restriction on extern types being the only field in a struct 2021-12-15 23:44:51 +01:00
step.rs Rollup merge of #90102 - nbdd0121:box3, r=jonas-schievink 2022-01-03 14:44:15 +01:00
terminator.rs don't ICE on variadic function calls 2021-12-20 22:37:14 +01:00
traits.rs Turn tcx.vtable_allocation() into a query. 2021-10-07 20:03:00 +02:00
util.rs polymorphize: polymorphize shims 2021-10-01 17:08:06 +00:00
validity.rs Store a Symbol instead of an Ident in VariantDef/FieldDef 2022-01-11 10:16:22 -05:00
visitor.rs Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00