| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
Move privacy checking later in the pipeline and make some passes run in parallel
r? @michaelwoerister
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Delay unmatched delimiter errors until after the parser has run to
deduplicate them when parsing and attempt recovering intelligently.
|
|
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
|
|
|
|
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.
|
|
librustc_llvm => 2018
Transitions `librustc_llvm` to Rust 2018; cc #58099
r? @Centril
|
|
librustc_errors => 2018
Transitions `librustc_errors` to Rust 2018; cc #58099
r? @Centril
|
|
librustc_apfloat => 2018
Transitions `librustc_apfloat` to Rust 2018; cc #58099
r? @Centril
|
|
Fix broken grammar in iter::from_fn() docs
Was introduced by https://github.com/rust-lang/rust/pull/58062
CC @SimonSapin
|
|
librustc_resolve => 2018
Transitions `librustc_resolve` to Rust 2018; cc #58099
r? @Centril
|
|
librustc_plugin => 2018
Transitions `librustc_plugin` to Rust 2018; cc #58099
r? @Centril
|
|
librustc_fs_util => 2018
Transitions `librustc_fs_util` to Rust 2018; cc #58099
r? @Centril
|
|
librustc_lsan => 2018
Transitions `librustc_lsan` to Rust 2018; cc #58099
r? @Centril
|
|
libprofiler_builtins => 2018
Transitions `libprofiler_builtins` to Rust 2018; cc #58099
r? @Centril
|
|
librustc_asan => 2018
Transitions `librustc_asan` to Rust 2018; cc #58099
r? @Centril
|
|
librustc_msan => 2018
Transitions `librustc_msan` to Rust 2018; cc #58099
r? @Centril
|
|
librustc_tsan => 2018
Transitions `librustc_tsan` to Rust 2018; cc #58099
r? @Centril
|
|
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
|
|
Move librustc to 2018
r? @Centril
Part of #58099
It would be great to get this reviewed quickly to avoid merge conflicts...
|
|
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
|
|
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
|
|
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.
|
|
libsyntax_ext => 2018
Transitions `libsyntax_ext` to Rust 2018; cc #58099
r? @Centril
|
|
libsyntax_pos => 2018
Transitions `libsyntax_pos` to Rust 2018; cc #58099
r? @Centril
|
|
Avoid some bounds checks in binary_heap::{PeekMut,Hole}
Fixes #58121.
|
|
libproc_macro => 2018
Transitions `libproc_macro` to Rust 2018; cc #58099
r? @Centril
|
|
Transition libtest to 2018 edition
Transitions libtest to Rust 2018; cc #58099
r? @Centril
|
|
|
|
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
|
|
libsyntax => 2018
Transitions `libsyntax` to Rust 2018; cc #58099
r? @Centril
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|