]> git.lizzy.rs Git - rust.git/commit
issue-49938: Reference tagged unions discr(iminant) as tag
authorSamuel Wilson <samuel.wilson@fluxfederation.com>
Fri, 4 May 2018 10:32:08 +0000 (22:32 +1200)
committerSamuel Wilson <samuel.wilson@fluxfederation.com>
Sun, 6 May 2018 02:52:38 +0000 (14:52 +1200)
commit38a6eca29ddb51be3c6e1757fd0287e270e1323a
treed72cab81ad0690d207f8c19e9f81f9f11837b86b
parent2c315475eaf22c1e1d1c3e8efc0f9d1c720eb886
issue-49938: Reference tagged unions discr(iminant) as tag

Refer https://github.com/rust-lang/rust/issues/49938

Previously tagged unions' tag was refered to as a discr(iminant).
Here the changes use tag instead which is the correct terminology
when refering to the memory representation of tagged unions.
src/librustc/ty/layout.rs
src/librustc_lint/types.rs
src/librustc_mir/interpret/eval_context.rs
src/librustc_target/abi/mod.rs
src/librustc_trans/debuginfo/metadata.rs
src/librustc_trans/mir/place.rs