rust/src
bors 7eeac1b814 Auto merge of #43932 - eddyb:const-scoping, r=nikomatsakis
Forward-compatibly deny drops in constants if they *could* actually run.

This is part of #40036, specifically the checks for user-defined destructor invocations on locals which *may not* have been moved away, the motivating example being:
```rust
const FOO: i32 = (HasDrop {...}, 0).1;
```
The evaluation of constant MIR will continue to create `'static` slots for more locals than is necessary (if `Storage{Live,Dead}` statements are ignored), but it shouldn't be misusable.

r? @nikomatsakis
2017-08-30 20:12:25 +00:00
..
bootstrap Auto merge of #43895 - JeremySorensen:master, r=alexcrichton 2017-08-30 15:43:09 +00:00
build_helper rustbuild: Replace create_dir_racy with create_dir_all 2017-08-07 16:04:46 +01:00
ci fix option for RUST_CONFIGURE_ARGS to be rust.ignore-git=false 2017-08-29 22:01:51 -07:00
doc Merge remote-tracking branch 'origin/master' into gen 2017-08-17 13:23:20 -07:00
etc Allow htmldocck to run using Python 3. 2017-08-26 01:31:12 +08:00
grammar changed upper bound digit in octal rule to 7 2017-06-13 17:08:12 -03:00
jemalloc@1f5a28755e Update jemalloc to 4.5.0 2017-08-16 22:06:05 +02:00
liballoc Auto merge of #44049 - alexcrichton:nounwind-allocators, r=BurntSushi 2017-08-29 00:58:17 +00:00
liballoc_jemalloc Auto merge of #43648 - RalfJung:jemalloc-debug, r=alexcrichton 2017-08-29 17:32:13 +00:00
liballoc_system *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libarena *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libbacktrace Update libbacktrace config.sub from http://git.savannah.gnu.org/cgit/config.git 2017-08-03 21:12:15 -07:00
libcollections *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libcompiler_builtins@6b9281d2b2 Update the compiler_builtins submodule 2017-08-18 23:03:37 +12:00
libcore Auto merge of #43903 - oli-obk:alignto, r=aturon 2017-08-30 08:06:42 +00:00
libfmt_macros *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libgetopts *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libgraphviz *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
liblibc@2a5b50b7f7 addrinfo hint in lookup_host() needs clean initialization on all platforms 2017-08-07 09:07:26 -07:00
libpanic_abort *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libpanic_unwind Add missing dependency for Windows 2017-08-27 19:02:24 +09:00
libproc_macro Make fields of `Span` private 2017-08-30 01:38:54 +03:00
libprofiler_builtins *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librand *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc Auto merge of #43932 - eddyb:const-scoping, r=nikomatsakis 2017-08-30 20:12:25 +00:00
librustc_allocator Make fields of `Span` private 2017-08-30 01:38:54 +03:00
librustc_apfloat *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_asan Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
librustc_back Rollup merge of #44091 - kallisti5:haiku-fix, r=eddyb 2017-08-26 06:46:37 -07:00
librustc_bitflags *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_borrowck Merge branch 'master' of https://github.com/rust-lang/rust into gen 2017-08-28 02:41:16 +02:00
librustc_const_eval *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_const_math *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_data_structures Auto merge of #44059 - oli-obk:ok_suggestion, r=nikomatsakis 2017-08-29 06:18:23 +00:00
librustc_driver Merge branch 'master' of https://github.com/rust-lang/rust into gen 2017-08-28 02:41:16 +02:00
librustc_errors Auto merge of #43968 - petrochenkov:span2, r=michaelwoerister 2017-08-30 11:08:26 +00:00
librustc_incremental *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_lint Merge branch 'master' of https://github.com/rust-lang/rust into gen 2017-08-28 02:41:16 +02:00
librustc_llvm *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_lsan Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
librustc_metadata Make fields of `Span` private 2017-08-30 01:38:54 +03:00
librustc_mir Auto merge of #43932 - eddyb:const-scoping, r=nikomatsakis 2017-08-30 20:12:25 +00:00
librustc_msan Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
librustc_passes Auto merge of #43932 - eddyb:const-scoping, r=nikomatsakis 2017-08-30 20:12:25 +00:00
librustc_platform_intrinsics *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_plugin *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_privacy Make fields of `Span` private 2017-08-30 01:38:54 +03:00
librustc_resolve Make fields of `Span` private 2017-08-30 01:38:54 +03:00
librustc_save_analysis Make fields of `Span` private 2017-08-30 01:38:54 +03:00
librustc_trans Auto merge of #43968 - petrochenkov:span2, r=michaelwoerister 2017-08-30 11:08:26 +00:00
librustc_trans_utils *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_tsan Move unused-extern-crate to late pass 2017-08-27 19:02:24 +09:00
librustc_typeck Auto merge of #43968 - petrochenkov:span2, r=michaelwoerister 2017-08-30 11:08:26 +00:00
librustdoc Auto merge of #43968 - petrochenkov:span2, r=michaelwoerister 2017-08-30 11:08:26 +00:00
libserialize *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libstd Rollup merge of #44117 - frewsxcv:frewsxcv-to-socket-addrs-examples, r=QuietMisdreavus 2017-08-29 21:40:57 +00:00
libstd_unicode *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libsyntax Make fields of `Span` private 2017-08-30 01:38:54 +03:00
libsyntax_ext Make fields of `Span` private 2017-08-30 01:38:54 +03:00
libsyntax_pos Make fields of `Span` public again 2017-08-30 01:41:05 +03:00
libterm *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libtest Platform gate libc in libtest 2017-08-27 19:02:24 +09:00
libunwind *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
llvm@d9e7d2696e Fix LLVM assertion when a weak symbol is defined in global_asm. 2017-07-18 16:52:00 +03:00
rt Remove the in-tree `flate` crate 2017-06-20 07:11:29 -07:00
rtstartup
rustc Make librustc_driver work without librustc_trans 2017-08-11 10:38:31 +02:00
rustllvm Fix covered-switch-default warnings in PassWrapper 2017-08-08 16:17:33 +08:00
test Auto merge of #43932 - eddyb:const-scoping, r=nikomatsakis 2017-08-30 20:12:25 +00:00
tools Rollup merge of #44141 - nrc:rls-preview-beta, r=alexcrichton 2017-08-29 21:41:02 +00:00
Cargo.lock Tweak rls submodule again 2017-08-28 07:32:25 -07:00
Cargo.toml Update RLS and Cargo 2017-08-25 18:12:47 -07:00
stage0.txt Bump master to 1.21.0 2017-07-25 07:03:19 -07:00