rust/compiler/rustc_mir/src
Yuki Okushi 83f126bedf
Rollup merge of #78101 - RalfJung:foreign-static, r=oli-obk
fix static_ptr_ty for foreign statics

Cc https://github.com/rust-lang/rust/issues/74840

This does not fix that issue but fixes a problem in `static_ptr_ty` that we noticed while discussing that issue. I also added and updated a few comments. The one about `internal` locals being ignored does not seem to have been true [even in the commit that introduced it](https://github.com/rust-lang/rust/pull/44700/files#diff-ae2f3c7e2f9744f7ef43e96072b10e98d4e3fe74a3a399a3ad8a810fbe56c520R139).

r? @oli-obk
2020-10-21 13:59:43 +09:00
..
borrow_check Zip -> Enumerate 2020-10-18 11:01:08 +02:00
const_eval Remove needless alloc_slice 2020-10-14 14:23:32 +02:00
dataflow Remove unused code from remaining compiler crates 2020-10-14 04:14:32 +02:00
interpret Optimize const value interning for ZST types 2020-10-17 16:07:00 -04:00
monomorphize Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
transform Rollup merge of #78101 - RalfJung:foreign-static, r=oli-obk 2020-10-21 13:59:43 +09:00
util Remove the old copy propagation pass 2020-10-17 02:25:31 +02:00
lib.rs Auto merge of #70743 - oli-obk:eager_const_to_pat_conversion, r=eddyb 2020-09-26 06:44:28 +00:00
shim.rs Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00