rust/compiler/rustc_middle/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
..
dep_graph mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
hir Replace unnecessary map_or_else with map_or 2020-10-18 11:01:09 +02:00
ich Replace absolute paths with relative ones 2020-10-13 14:16:45 +02:00
infer use relevant span when unifying ConstVarValues 2020-09-23 11:00:44 +02:00
middle Remove unused code from rustc_middle 2020-10-14 04:14:32 +02:00
mir Rollup merge of #78101 - RalfJung:foreign-static, r=oli-obk 2020-10-21 13:59:43 +09:00
query Fix query docs 2020-10-10 12:49:31 -07:00
traits review comments 2020-10-20 09:26:15 -07:00
ty Rollup merge of #78101 - RalfJung:foreign-static, r=oli-obk 2020-10-21 13:59:43 +09:00
util Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
arena.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
lint.rs Prevent forbid from being ignored if overriden at the same level. 2020-10-04 13:14:01 -04:00
macros.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00