rust/src
Daan Sprenkels cde0f94a52 librustc_resolve: make sure pattern def gets recorded if resolve_path returns Err(true)
In 1a374b8, (pr #33046) fixed the error reporting of a specific
case, but the change that was introduced did not make sure that
`record_def` was called in all cases, which lead to an ICE in [1].
This change restores the original `else` case, but keeps the changes
that were committed in 1a374b8.

This commit fixes issue #33293.

[1] `rustc::middle::mem_categorization::MemCategorizationContext::cat_pattern_`
2016-05-30 18:31:01 +02:00
..
bootstrap rustbuild: Add support for --enable-local-rust 2016-05-23 22:57:33 -07:00
build_helper whoops 2016-04-04 21:14:15 +10:00
compiler-rt@57315f7e07
doc Implement .. in tuple (struct) patterns 2016-05-26 11:11:58 +03:00
driver
etc Auto merge of #33098 - raphlinus:master, r=alexcrichton 2016-05-23 02:48:11 -07:00
grammar
jemalloc@aab1c0a0e0
liballoc std: Stabilize APIs for the 1.10 release 2016-05-24 09:00:39 -07:00
liballoc_jemalloc rustbuild: Tighten dependencies of build scripts 2016-05-10 23:41:19 -07:00
liballoc_system std: Use memalign, not posix_memalign, on Android 2016-05-24 15:21:01 -07:00
libarena
libbacktrace std: Update libbacktrace for a soundness fix 2016-05-19 11:56:43 -07:00
libcollections Rollup merge of #33858 - liigo:patch-7, r=GuillaumeGomez 2016-05-27 10:50:03 +02:00
libcollectionstest Auto merge of #33795 - srinivasreddy:lib_coll_test, r=nrc 2016-05-27 11:51:53 -07:00
libcore Rollup merge of #33849 - ranma42:escape-iters-count, r=alexcrichton 2016-05-28 19:52:16 +05:30
libcoretest Extend the test for EscapeUnicode 2016-05-26 10:54:58 +02:00
libflate rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
libfmt_macros
libgetopts std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
libgraphviz
liblibc@b19b5465a1 std: Update libc submodule 2016-05-17 14:59:06 -07:00
liblog rustfmt on liblog 2016-05-27 08:06:17 +05:30
libpanic_abort rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
libpanic_unwind rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
librand rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
librbml std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
librustc Rollup merge of #33854 - petrochenkov:prefvis, r=eddyb 2016-05-28 19:52:16 +05:30
librustc_back Auto merge of #33699 - alexcrichton:stabilize-1.10, r=aturon 2016-05-25 20:36:09 -07:00
librustc_bitflags rustbuild: Add missing test suites 2016-05-18 16:36:08 -07:00
librustc_borrowck Rollup merge of #33820 - jonathandturner:format_readability_updates, r=nikomatsakis 2016-05-28 19:52:15 +05:30
librustc_const_eval Replace pat_adjust_pos with an iterator adapter 2016-05-26 11:11:58 +03:00
librustc_const_math don't report bitshift overflow twice 2016-04-26 14:10:07 +02:00
librustc_data_structures identify inputs of MetaData(X) nodes 2016-05-18 10:11:35 -04:00
librustc_driver Auto merge of #33821 - sanxiyn:cfg-test, r=nikomatsakis 2016-05-28 10:24:01 -07:00
librustc_incremental Rollup merge of #33854 - petrochenkov:prefvis, r=eddyb 2016-05-28 19:52:16 +05:30
librustc_lint Auto merge of #33654 - petrochenkov:hirident, r=nrc 2016-05-18 00:27:49 -07:00
librustc_llvm Add opt-level options for optimizing for size and minimum size. This attempts 2016-04-28 23:08:30 -07:00
librustc_metadata trans: remove item_symbols from metadata and CrateContext. 2016-05-25 01:56:49 +03:00
librustc_mir Replace pat_adjust_pos with an iterator adapter 2016-05-26 11:11:58 +03:00
librustc_passes rustc: Split local type contexts interners from the global one. 2016-05-11 04:14:58 +03:00
librustc_platform_intrinsics rustc_platform_intrinsics: remove unused rustc dependency. 2016-03-29 19:36:01 +03:00
librustc_plugin rustc: use a simpler scheme for plugin registrar symbol names. 2016-05-25 01:20:55 +03:00
librustc_privacy Replace pat_adjust_pos with an iterator adapter 2016-05-26 11:11:58 +03:00
librustc_resolve librustc_resolve: make sure pattern def gets recorded if resolve_path returns Err(true) 2016-05-30 18:31:01 +02:00
librustc_save_analysis Auto merge of #33800 - nrc:save-fn-name, r=eddyb 2016-05-27 20:45:46 -07:00
librustc_trans Rollup merge of #33639 - petrochenkov:dotdot, r=nmatsakis 2016-05-27 09:57:00 +05:30
librustc_typeck Rollup merge of #33852 - arielb1:autoderef-iterator, r=eddyb 2016-05-28 19:52:16 +05:30
librustc_unicode Add comment, reduce storage requirements 2016-04-20 21:56:35 -07:00
librustdoc Auto merge of #33900 - GuillaumeGomez:rollup, r=GuillaumeGomez 2016-05-27 03:56:19 -07:00
libserialize Utilize Result::unwrap_err in more places. 2016-05-09 08:40:57 -04:00
libstd Rollup merge of #33856 - GuillaumeGomez:fmt_error, r=alexcrichton 2016-05-28 19:52:16 +05:30
libsyntax Auto merge of #33934 - Byron:libsyntex-ring-buffer-size, r=pnkfelix 2016-05-29 03:02:46 -07:00
libsyntax_ext Add a new AST-only type variant ImplicitSelf 2016-05-25 21:55:04 +03:00
libterm Utilize Result::unwrap_err in more places. 2016-05-09 08:40:57 -04:00
libtest rustc: Implement custom panic runtimes 2016-05-09 08:22:36 -07:00
libunwind rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
llvm@a73c41e7f1 rustc: Use C++ personalities on MSVC 2016-05-09 17:28:48 -07:00
rt Fix misleading intentation errors on gcc 6.0 2016-05-22 20:47:59 +01:00
rtstartup
rust-installer@c37d3747da
rustc rustbuild: Add support for crate tests + doctests 2016-05-12 08:52:20 -07:00
rustllvm rustc: Use C++ personalities on MSVC 2016-05-09 17:28:48 -07:00
test Auto merge of #33821 - sanxiyn:cfg-test, r=nikomatsakis 2016-05-28 10:24:01 -07:00
tools Auto merge of #33848 - alexcrichton:android-gdb-sysroot, r=michaelwoerister 2016-05-28 19:19:27 -07:00
stage0.txt mk: Bootstrap from stable instead of snapshots 2016-04-19 10:56:49 -07:00