rust/src
Christopher Vittal 8fd48e7d59 Split hir::TyImplTrait, move checks to HIR lowering
Replace hir::TyImplTrait with TyImplTraitUniversal and
TyImplTraitExistential.

Add an ImplTraitContext enum to rustc::hir::lowering to track the kind
and allowedness of an impl Trait.

Significantly alter lowering to thread ImplTraitContext and one other
boolean parameter described below throughought much of lowering.

The other parameter is for tracking if lowering a function is in a trait
impl, as there is not enough information to otherwise know this
information during lowering otherwise.

This change also removes the checks from ast_ty_to_ty for impl trait
allowedness as they are now all taking place in HIR lowering.
2017-11-15 15:46:01 -05:00
..
bootstrap Reenable clippy testing 2017-11-15 10:42:47 +01:00
build_helper rustbuild: Support specifying archiver and linker explicitly 2017-10-15 22:10:07 +03:00
ci Rollup merge of #45961 - dereckson:unix-agnosticity-ci, r=Mark-Simulacrum 2017-11-14 16:52:11 +01:00
doc std: Remove rand crate and module 2017-11-08 20:41:17 -08:00
etc regenerate libcore/char_private.rs 2017-10-26 22:32:24 -07:00
grammar Update grammar to parse current rust syntax 2017-10-08 18:46:42 -07:00
jemalloc@1f5a28755e
liballoc Fixed several pulldown warnings when documenting libstd. 2017-11-14 17:22:57 +08:00
liballoc_jemalloc rustc: Handle some libstd symbole exports better 2017-11-04 20:01:11 -07:00
liballoc_system Fix out of date unstable book entries for alloc_* features. 2017-10-12 07:46:02 +02:00
libarena stabilized needs_drop (fixes #41890) 2017-09-16 23:41:04 +02:00
libbacktrace Disable mmap in libbacktrace on Apple platforms 2017-11-08 02:28:17 -08:00
libcompiler_builtins@0b9844764e Update the libcompiler_builtins submodule 2017-09-30 01:45:21 +02:00
libcore Rollup merge of #45977 - kennytm:fix-pulldown-warnings, r=steveklabnik 2017-11-14 16:52:14 +01:00
libfmt_macros Retain information on whether a format argument has explicit position 2017-11-09 20:57:58 +00:00
libgetopts address some FIXMEs whose associated issues were marked as closed 2017-09-30 11:33:47 +03:00
libgraphviz
liblibc@c1068cd82a Update libc (new const definitions for Linux sparc64) 2017-11-14 10:47:04 -02:00
libpanic_abort
libpanic_unwind
libproc_macro proc_macro: use the proc_macro API at runtime to construct quasi-quoted TokenStream's. 2017-11-09 01:40:04 +02:00
libprofiler_builtins Bump cc to 1.01 to include x86_64-unknown-linux-gnux32 support 2017-10-11 21:35:53 -03:00
librustc Split hir::TyImplTrait, move checks to HIR lowering 2017-11-15 15:46:01 -05:00
librustc_allocator rustc: Handle some libstd symbole exports better 2017-11-04 20:01:11 -07:00
librustc_apfloat Make trans const eval error on overflow and NaN, matching HIR const eval. 2017-11-07 20:13:19 +01:00
librustc_asan
librustc_back std: Remove rand crate and module 2017-11-08 20:41:17 -08:00
librustc_borrowck Make the difference between lint codes and error codes explicit 2017-11-02 10:19:41 +01:00
librustc_const_eval Auto merge of #45050 - petrochenkov:ambind, r=nikomatsakis 2017-11-10 19:10:12 +00:00
librustc_const_math Extract (f32::MAX + 0.5 ULP) constant 2017-11-07 20:13:19 +01:00
librustc_cratesio_shim Remove rustc_bitflags; use the bitflags crate 2017-09-17 14:19:24 -04:00
librustc_data_structures Auto merge of #45668 - nikomatsakis:nll-free-region, r=arielb1 2017-11-06 23:30:57 +00:00
librustc_driver Auto merge of #45944 - eddyb:provide, r=nikomatsakis 2017-11-15 08:02:19 +00:00
librustc_errors Auto merge of #45741 - oli-obk:refactor_suggestions, r=estebank 2017-11-09 15:42:26 +00:00
librustc_incremental std: Remove rand crate and module 2017-11-08 20:41:17 -08:00
librustc_lint Auto merge of #45247 - leodasvacas:implement-auto-trait-syntax, r=nikomatsakis 2017-11-03 19:07:45 +00:00
librustc_llvm Make trans const eval error on overflow and NaN, matching HIR const eval. 2017-11-07 20:13:19 +01:00
librustc_lsan
librustc_metadata Split hir::TyImplTrait, move checks to HIR lowering 2017-11-15 15:46:01 -05:00
librustc_mir fix comment, remove redundant code 2017-11-15 11:21:05 +03:00
librustc_msan
librustc_passes rustc: split off BodyOwnerKind from MirSource. 2017-11-14 08:54:27 +02:00
librustc_platform_intrinsics Auto merge of #44885 - lu-zero:master, r=alexcrichton 2017-10-02 17:18:20 +00:00
librustc_plugin
librustc_privacy Split hir::TyImplTrait, move checks to HIR lowering 2017-11-15 15:46:01 -05:00
librustc_resolve Auto merge of #45050 - petrochenkov:ambind, r=nikomatsakis 2017-11-10 19:10:12 +00:00
librustc_save_analysis save-analysis: run rustfmt 2017-11-08 10:43:05 +13:00
librustc_trans Auto merge of #45944 - eddyb:provide, r=nikomatsakis 2017-11-15 08:02:19 +00:00
librustc_trans_utils rustc_driver: base extern query providers on local ones. 2017-11-12 18:20:15 +02:00
librustc_tsan
librustc_typeck Split hir::TyImplTrait, move checks to HIR lowering 2017-11-15 15:46:01 -05:00
librustdoc Split hir::TyImplTrait, move checks to HIR lowering 2017-11-15 15:46:01 -05:00
libserialize
libstd Auto merge of #45981 - GuillaumeGomez:rollup, r=GuillaumeGomez 2017-11-14 16:18:19 +00:00
libstd_unicode Fixed several pulldown warnings when documenting libstd. 2017-11-14 17:22:57 +08:00
libsyntax Auto merge of #45870 - mikeyhew:arbitrary_self_types, r=arielb1 2017-11-12 07:31:08 +00:00
libsyntax_ext Retain information on whether a format argument has explicit position 2017-11-09 20:57:58 +00:00
libsyntax_pos Fix style in interner test 2017-11-13 07:55:20 +01:00
libterm
libtest libtest: Force a newline every 100 dots when testing in quiet mode. 2017-11-06 03:53:39 +08:00
libunwind
llvm@b48f77c5ed Update LLVM to fix miscompiles with -Copt-level=z on Windows 2017-11-12 15:12:02 +01:00
rt
rtstartup auto trait future compatibility lint 2017-11-03 16:13:21 -02:00
rustc Bump cc to 1.01 to include x86_64-unknown-linux-gnux32 support 2017-10-11 21:35:53 -03:00
rustllvm Update LLVM to fix miscompiles with -Copt-level=z on Windows 2017-11-12 15:12:02 +01:00
test fix test 2017-11-15 12:30:30 +03:00
tools Reenable clippy testing 2017-11-15 10:42:47 +01:00
Cargo.lock Reenable clippy testing 2017-11-15 10:42:47 +01:00
Cargo.toml Merge branch 'master' into update-rls-data-for-save-analysis 2017-10-24 19:37:15 -04:00
stage0.txt Bump to 1.23 and update bootstrap 2017-10-26 13:59:18 -07:00