rust/src
Corey Farwell 93074187b6 Rollup merge of #40696 - cramertj:remove-unused-adt-def-code, r=petrochenkov
Remove unused adt-def insertion by constructor DefIndex

It looks to me like ADT definitions weren't being looked up by constructor id, and a test run supports my theory.

In any case, I'm not sure it would have worked in its current configuration. If I understand correctly, the `adt_def` map entry from constructor id -> adt def would only be present after a successful call to `queries::adt_def::get` with the proper ADT `DefIndex`. Trying to look up an adt_def by the constructor index prior to a successful lookup by ADT index would fail since `item.kind` would be `EntryKind::Fn` (for the constructor function) and so would trigger the `bug!`.

r? @nikomatsakis
2017-03-22 23:38:03 -04:00
..
bootstrap appveyor: Use Ninja to build LLVM on MinGW 2017-03-21 19:18:56 -07:00
build_helper rustbuild: Assert directory creation succeeds 2017-03-07 15:24:36 -08:00
ci dist-x86-linux: ugrade gcc to 4.8.5 2017-03-21 20:40:06 +01:00
compiler-rt@d30da544a8 sanitizer support 2017-02-08 18:51:43 -05:00
doc Rollup merge of #40732 - petrochenkov:booktidy, r=steveklabnik 2017-03-22 19:30:35 -04:00
driver
etc Vec, LinkedList, VecDeque, String, and Option NatVis visualizations 2017-02-15 01:51:19 -08:00
grammar Fix typo 2017-02-15 15:13:31 +03:00
jemalloc@11bfb0dcf8
liballoc Fix up various links 2017-03-20 10:10:16 -04:00
liballoc_jemalloc Update usages of 'OSX' (and other old names) to 'macOS'. 2017-03-12 14:59:04 -04:00
liballoc_system
libarena
libbacktrace libbacktrace: Fix uninitialized variable 2017-02-04 01:18:10 +03:00
libcollections Add 'the' before 'start'/'end' 2017-03-22 18:42:42 +01:00
libcollectionstest Implement feature sort_unstable 2017-03-21 20:46:20 +01:00
libcompiler_builtins make shift builtins panic-free with new unchecked_sh* intrinsics 2017-03-15 06:59:09 +01:00
libcore Rollup merge of #40722 - stjepang:doc-consistency-fixes, r=steveklabnik 2017-03-22 19:30:32 -04:00
libcoretest Unit test heapsort 2017-03-21 20:46:20 +01:00
libflate Add/remove rerun-if-changed when necessary 2017-03-04 21:38:26 +03:00
libfmt_macros
libgetopts
libgraphviz
liblibc@64d954c6a7 Update name_bytes, scoop up latest libc 2017-02-22 09:28:02 -08:00
liblog
libpanic_abort
libpanic_unwind std: Remove cfg(cargobuild) annotations 2017-02-06 08:42:54 -08:00
libproc_macro Add doc attributes to proc_macro crate 2017-03-12 02:54:43 +00:00
libproc_macro_plugin Improve the TokenStream quoter. 2017-03-15 23:05:02 +00:00
librand Remove specialization from Debug implementations 2017-01-20 13:10:36 +01:00
librustc Rollup merge of #40678 - michaelwoerister:dmi-prep, r=nikomatsakis 2017-03-22 23:38:02 -04:00
librustc_asan sanitizer runtime crates shouldn't be tested 2017-03-05 14:25:47 -05:00
librustc_back Update usages of 'OSX' (and other old names) to 'macOS'. 2017-03-12 14:59:04 -04:00
librustc_bitflags
librustc_borrowck Auto merge of #39628 - arielb1:shimmir, r=eddyb 2017-03-20 15:58:10 +00:00
librustc_const_eval clean up visuals on error index #40425 2017-03-13 23:12:54 -04:00
librustc_const_math rustc_const_eval: always demand typeck_tables for evaluating constants. 2017-02-25 18:35:26 +02:00
librustc_data_structures Add resize() method to IndexVec. 2017-03-22 16:11:18 +01:00
librustc_driver Rollup merge of #40678 - michaelwoerister:dmi-prep, r=nikomatsakis 2017-03-22 23:38:02 -04:00
librustc_errors Rollup merge of #40287 - estebank:label-overlap, r=nrc 2017-03-10 16:18:28 -08:00
librustc_incremental Move some constants to rustc::ich. 2017-03-22 09:14:24 +01:00
librustc_lint Refactor Attribute to use Path and TokenStream instead of MetaItem. 2017-03-14 04:03:43 +00:00
librustc_llvm Add/remove rerun-if-changed when necessary 2017-03-04 21:38:26 +03:00
librustc_lsan sanitizer runtime crates shouldn't be tested 2017-03-05 14:25:47 -05:00
librustc_metadata Rollup merge of #40696 - cramertj:remove-unused-adt-def-code, r=petrochenkov 2017-03-22 23:38:03 -04:00
librustc_mir Rollup merge of #40678 - michaelwoerister:dmi-prep, r=nikomatsakis 2017-03-22 23:38:02 -04:00
librustc_msan sanitizer runtime crates shouldn't be tested 2017-03-05 14:25:47 -05:00
librustc_passes Rollup merge of #40229 - cramertj:break-to-blocks, r=nikomatsakis 2017-03-20 23:44:55 -04:00
librustc_platform_intrinsics Auto merge of #38561 - nagisa:rdrandseed, r=alexcrichton 2017-02-14 01:26:10 +00:00
librustc_plugin Remove ability for plugins to register a MIR pass 2017-03-10 08:09:29 -08:00
librustc_privacy Make priv in pub hard error for crates using pub(restricted) 2017-03-17 20:38:32 -07:00
librustc_resolve Rollup merge of #40509 - jseyfried:duplicate_check_macro_exports, r=nrc 2017-03-22 19:30:23 -04:00
librustc_save_analysis Rollup merge of #40554 - nrc:rls-data, r=alexcrichton 2017-03-19 20:51:10 -04:00
librustc_trans Teach rustc --emit=mir 2017-03-21 20:19:02 -04:00
librustc_tsan sanitizer runtime crates shouldn't be tested 2017-03-05 14:25:47 -05:00
librustc_typeck Rollup merge of #40696 - cramertj:remove-unused-adt-def-code, r=petrochenkov 2017-03-22 23:38:03 -04:00
librustdoc Rollup merge of #40725 - Cldfire:master, r=estebank 2017-03-22 19:30:34 -04:00
libserialize Only SwitchInt over integers, not all consts 2017-02-10 19:42:41 +02:00
libstd Rollup merge of #40556 - cramertj:stabilize-pub-restricted, r=petrochenkov 2017-03-20 23:44:59 -04:00
libstd_unicode Rollup merge of #40499 - ericfindlay:master, r=steveklabnik 2017-03-17 08:49:00 -04:00
libsyntax Introduce HirId, a replacement for NodeId after lowering to HIR. 2017-03-22 17:02:07 +01:00
libsyntax_ext Auto merge of #40346 - jseyfried:path_and_tokenstream_attr, r=nrc 2017-03-19 10:56:08 +00:00
libsyntax_pos store typeck lints in the TypeckTables 2017-02-02 20:38:16 -05:00
libterm Update usages of 'OSX' (and other old names) to 'macOS'. 2017-03-12 14:59:04 -04:00
libtest fix typo 2017-02-27 11:18:11 +08:00
libunwind Add/remove rerun-if-changed when necessary 2017-03-04 21:38:26 +03:00
llvm@d5ef27a796 update LLVM 2017-03-19 17:52:17 +02:00
rt Set correct hoedown submodule branch 2017-02-03 11:08:20 +01:00
rtstartup
rust-installer@4f99485080
rustc test: Verify all sysroot crates are unstable 2017-02-21 11:38:17 -08:00
rustllvm Auto merge of #39628 - arielb1:shimmir, r=eddyb 2017-03-20 15:58:10 +00:00
test Rollup merge of #40542 - abonander:issue_40535, r=jseyfried 2017-03-22 23:38:00 -04:00
tools Make the filenames of .stamp files generated by compiletest shorter. 2017-03-21 16:50:36 -04:00
Cargo.lock travis: Don't set RUST_LOG globally 2017-03-20 14:32:36 -07:00
Cargo.toml Don't put Cargo into the rustc workspace 2017-03-10 14:49:19 -08:00
stage0.txt rustbuild: Use copies instead of hard links 2017-03-09 07:00:13 -08:00