about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-02-07Add #[must_use] message to Fn* traitsTaiki Endo-3/+3
2019-02-07Remove images' url to make it work even without internet connectionGuillaume Gomez-114/+37
2019-02-07Auto merge of #58010 - Zoxc:parallel-passes, r=michaelwoeristerbors-104/+157
Move privacy checking later in the pipeline and make some passes run in parallel r? @michaelwoerister
2019-02-07add doc comment and revert angle bracket changeEsteban Küber-5/+7
2019-02-07tweak wording based on in person feedbackEsteban Küber-10/+8
2019-02-07fix testEsteban Küber-2/+5
2019-02-07Update test output after rebaseEsteban Küber-3/+3
2019-02-07Remove unused `match`Esteban Küber-19/+4
2019-02-07Add missing trailing newlineEsteban Küber-2/+2
2019-02-07Remove spurious complaint about missing expression for bare semicolonsEsteban Küber-9/+27
2019-02-07unify error handling to single methodEsteban Küber-42/+32
2019-02-07Deduplicate mismatched delimiter errorsEsteban Küber-158/+335
Delay unmatched delimiter errors until after the parser has run to deduplicate them when parsing and attempt recovering intelligently.
2019-02-07Auto merge of #58254 - kennytm:rollup, r=kennytmbors-1927/+2037
Rollup of 23 pull requests Successful merges: - #58118 (Transition libtest to 2018 edition) - #58119 (libproc_macro => 2018) - #58123 (Avoid some bounds checks in binary_heap::{PeekMut,Hole}) - #58124 (libsyntax_pos => 2018) - #58133 (libsyntax_ext => 2018) - #58136 (Improve error message and docs for non-UTF-8 bytes in stdio on Windows) - #58156 (update submodule: rust-installer from 27dec6c to ccdc47b) - #58192 (Do not ICE in codegen when using a extern_type static) - #58193 (Move librustc to 2018) - #58210 (Make an assert debug-only in `find_constraint_paths_between_regions`.) - #58217 (librustc_tsan => 2018) - #58218 (librustc_msan => 2018) - #58219 (librustc_asan => 2018) - #58220 (libprofiler_builtins => 2018) - #58223 (librustc_lsan => 2018) - #58225 (librustc_fs_util => 2018) - #58228 (librustc_plugin => 2018) - #58236 (librustc_resolve => 2018) - #58237 (Fix broken grammar in iter::from_fn() docs) - #58239 (librustc_apfloat => 2018) - #58240 (librustc_errors => 2018) - #58241 (librustc_llvm => 2018) - #58242 (Document the one TyKind that isn't documented) Failed merges: - #58185 (Remove images' url to make it work even without internet connection) r? @ghost
2019-02-06Change RawWaker constructor to const fnMatthias Einwag-12/+26
2019-02-07Rollup merge of #58242 - notriddle:patch-3, r=zackmdaviskennytm-0/+1
Document the one TyKind that isn't documented This is especially confusing since the name `Foreign` and the name `extern type` are so different. I deduced that they're the same by consulting git-blame.
2019-02-07Rollup merge of #58241 - taiki-e:librustc_llvm-2018, r=Centrilkennytm-4/+2
librustc_llvm => 2018 Transitions `librustc_llvm` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58240 - taiki-e:librustc_errors-2018, r=Centrilkennytm-45/+37
librustc_errors => 2018 Transitions `librustc_errors` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58239 - taiki-e:librustc_apfloat-2018, r=Centrilkennytm-18/+11
librustc_apfloat => 2018 Transitions `librustc_apfloat` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58237 - sdroege:docs-its-its, r=SimonSapinkennytm-4/+2
Fix broken grammar in iter::from_fn() docs Was introduced by https://github.com/rust-lang/rust/pull/58062 CC @SimonSapin
2019-02-07Rollup merge of #58236 - taiki-e:librustc_resolve-2018, r=Centrilkennytm-89/+96
librustc_resolve => 2018 Transitions `librustc_resolve` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58228 - taiki-e:librustc_plugin-2018, r=Centrilkennytm-10/+8
librustc_plugin => 2018 Transitions `librustc_plugin` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58225 - taiki-e:librustc_fs_util-2018, r=Centrilkennytm-0/+3
librustc_fs_util => 2018 Transitions `librustc_fs_util` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58223 - taiki-e:librustc_lsan-2018, r=Centrilkennytm-4/+3
librustc_lsan => 2018 Transitions `librustc_lsan` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58220 - taiki-e:libprofiler_builtins-2018, r=Centrilkennytm-3/+2
libprofiler_builtins => 2018 Transitions `libprofiler_builtins` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58219 - taiki-e:librustc_asan-2018, r=Centrilkennytm-4/+3
librustc_asan => 2018 Transitions `librustc_asan` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58218 - taiki-e:librustc_msan-2018, r=Centrilkennytm-4/+3
librustc_msan => 2018 Transitions `librustc_msan` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58217 - taiki-e:librustc_tsan-2018, r=Centrilkennytm-4/+3
librustc_tsan => 2018 Transitions `librustc_tsan` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58210 - nnethercote:find_outlives-debug_assert, r=matthewjasperkennytm-1/+1
Make an assert debug-only in `find_constraint_paths_between_regions`. This reduces instruction counts for NLL builds of `wg-grammar` by over 20%. r? @nikomatsakis
2019-02-07Rollup merge of #58193 - mark-i-m:rustc-2018, r=Centrilkennytm-1243/+1234
Move librustc to 2018 r? @Centril Part of #58099 It would be great to get this reviewed quickly to avoid merge conflicts...
2019-02-07Rollup merge of #58192 - dlrobertson:fix_57876, r=oli-obkkennytm-1/+48
Do not ICE in codegen when using a extern_type static The layout of a extern_type static is unsized, but may pass the Well-Formed check in typeck (See #55257). As a result, we cannot assume that a static is sized when generating the `Place` for an r-value. Fixes: #57876 r? @oli-obk
2019-02-07Rollup merge of #58156 - h-michael:update-rust-installer, r=Centrilkennytm-0/+0
update submodule: rust-installer from 27dec6c to ccdc47b Update rust-installer cc: #58099 https://github.com/rust-lang/rust-installer/compare/27dec6c...ccdc47b r? @Centril
2019-02-07Rollup merge of #58136 - abonander:doc-win-stdio-unicode, r=dtolnaykennytm-1/+48
Improve error message and docs for non-UTF-8 bytes in stdio on Windows This should make debugging problems like abonander/multipart#106 significantly more straightforward in the future. cc #23344, @retep998 @alexcrichton Not sure who do r? so I'll let rust-highfive pick one.
2019-02-07Rollup merge of #58133 - taiki-e:libsyntax_ext-2018, r=Centrilkennytm-268/+269
libsyntax_ext => 2018 Transitions `libsyntax_ext` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58124 - taiki-e:libsyntax_pos-2018, r=Centrilkennytm-60/+51
libsyntax_pos => 2018 Transitions `libsyntax_pos` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58123 - lnicola:binary-heap-no-bounds-checks, r=sfacklerkennytm-3/+8
Avoid some bounds checks in binary_heap::{PeekMut,Hole} Fixes #58121.
2019-02-07Rollup merge of #58119 - taiki-e:libproc_macro-2018, r=petrochenkovkennytm-90/+100
libproc_macro => 2018 Transitions `libproc_macro` to Rust 2018; cc #58099 r? @Centril
2019-02-07Rollup merge of #58118 - h-michael:libtest-theme-2018, r=Centrilkennytm-71/+104
Transition libtest to 2018 edition Transitions libtest to Rust 2018; cc #58099 r? @Centril
2019-02-07Transition libserialize to 2018 editionHirokazu Hata-41/+42
2019-02-07Auto merge of #57998 - niklasf:align-enum, r=nagisabors-28/+191
Allow #[repr(align(x))] on enums (#57996) Tracking issue: #57996 Implements an extension of [RFC 1358](https://github.com/rust-lang/rfcs/blob/master/text/1358-repr-align.md) behind a feature flag (`repr_align_enum`). Originally introduced here for structs: #39999. It seems like only HIR-level changes are required, since enums are already aware of their alignment (due to alignment of their limbs). cc @bitshifter
2019-02-07Auto merge of #58125 - taiki-e:libsyntax-2018, r=Centrilbors-574/+617
libsyntax => 2018 Transitions `libsyntax` to Rust 2018; cc #58099 r? @Centril
2019-02-07Transition librustc_traits to 2018 editionHirokazu Hata-23/+20
2019-02-06tidy line lengthPatrick McCarter-2/+4
2019-02-06fix saturating_sub() underflow for unsigned ints #58030Patrick McCarter-11/+15
2019-02-06tidy line length splitPatrick McCarter-1/+2
2019-02-06Allow const assignment for int saturating_sub() for #58030Patrick McCarter-16/+86
2019-02-06Lower constant patterns with ascribed types.David Wood-4/+68
This commit fixes a bug introduced by #55937 which started checking user type annotations for associated type patterns. Where lowering a associated constant expression would previously return a `PatternKind::Constant`, it now returns a `PatternKind::AscribeUserType` with a `PatternKind::Constant` inside, this commit unwraps that to access the constant pattern inside and behaves as before.
2019-02-06Document the one TyKind that isn't documentedMichael Howell-0/+1
This is especially confusing since the name `Foreign` and the name `extern type` are so different. I deduced that they're the same by consulting git-blame.
2019-02-07librustc_errors => 2018Taiki Endo-45/+37
2019-02-07librustc_llvm => 2018Taiki Endo-4/+2
2019-02-07librustc_apfloat => 2018Taiki Endo-18/+11