rust/src/librustc_trans
bors d2c795932b Auto merge of #38837 - eddyb:issue-38074, r=nikomatsakis
Allow projections to be promoted to constants in MIR.

This employs the `LvalueContext` additions by @pcwalton to properly extend the MIR promotion of temporaries to allow projections (field accesses, indexing and dereferences) on said temporaries.

It's needed both parity with the old constant qualification logic (for current borrowck) and it fixes #38074.
The former is *required for soundness* if we accept the RFC for promoting rvalues to `'static` constants.
That is, until we get MIR borrowck and the same source of truth will be used for both checks and codegen.
2017-01-08 15:51:49 +00:00
..
back rustc: use -Xlinker when specifying an rpath with ',' in it 2017-01-03 11:40:48 -08:00
debuginfo rustc: store ty::Tables separately for each body (except closures'). 2017-01-06 22:23:29 +02:00
mir Auto merge of #38813 - eddyb:lazy-11, r=nikomatsakis 2017-01-08 11:36:52 +00:00
abi.rs Fix style nit 2017-01-04 11:38:10 -07:00
adt.rs Inline trans_switch to simplify code 2017-01-04 11:38:10 -07:00
asm.rs Add Builder::sess and Builder::tcx methods 2017-01-04 11:34:26 -07:00
assert_module_sources.rs
attributes.rs
base.rs Inline and remove Builder::entry_block 2017-01-04 11:38:10 -07:00
builder.rs Inline and remove Builder::entry_block 2017-01-04 11:38:10 -07:00
cabi_aarch64.rs
cabi_arm.rs
cabi_asmjs.rs
cabi_mips64.rs
cabi_mips.rs
cabi_msp430.rs
cabi_nvptx64.rs
cabi_nvptx.rs
cabi_powerpc64.rs
cabi_powerpc.rs
cabi_s390x.rs
cabi_sparc64.rs
cabi_sparc.rs
cabi_x86_64.rs
cabi_x86_win64.rs Windows x64 ABI requires i128 params to be passed as reference 2016-12-30 15:17:29 +01:00
cabi_x86.rs
callee.rs Auto merge of #38822 - michaelwoerister:collect-fn-once-adapter, r=eddyb 2017-01-08 04:18:32 +00:00
Cargo.toml
cleanup.rs Builder.build_new_block -> Builder.build_sibling_block 2017-01-04 11:38:10 -07:00
collector.rs Auto merge of #38837 - eddyb:issue-38074, r=nikomatsakis 2017-01-08 15:51:49 +00:00
common.rs rustc: keep track of tables everywhere as if they were per-body. 2017-01-06 22:23:29 +02:00
consts.rs rustc: store ty::Tables separately for each body (except closures'). 2017-01-06 22:23:29 +02:00
context.rs rustc: keep track of tables everywhere as if they were per-body. 2017-01-06 22:23:29 +02:00
declare.rs
diagnostics.rs
disr.rs
glue.rs rustc: keep track of tables everywhere as if they were per-body. 2017-01-06 22:23:29 +02:00
intrinsic.rs Fix errors introduced during rebase 2017-01-04 11:47:43 -07:00
lib.rs Auto merge of #38679 - alexcrichton:always-deny-warnings, r=nrc 2017-01-08 08:22:06 +00:00
machine.rs
macros.rs
meth.rs Inline and remove Builder::entry_block 2017-01-04 11:38:10 -07:00
monomorphize.rs
partitioning.rs
README.md
symbol_map.rs
symbol_names_test.rs
trans_item.rs
tvec.rs Builder.build_new_block -> Builder.build_sibling_block 2017-01-04 11:38:10 -07:00
type_.rs Fix rebase fallout 2016-12-30 15:17:27 +01:00
type_of.rs
value.rs