summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2019-02-28Auto merge of #58795 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum 1.33.0bors-22/+26
Revert abort on unwinding through FFI on stable This is entirely done to allow us more time for discussion about what behavior we want to specify here.
2019-02-27Permit unwinding through FFI by defaultMark Rousskov-1/+3
See #58794 for context.
2019-02-27Fix release note problems noticed after merging.Mark Rousskov-21/+23
2019-02-25Auto merge of #58721 - pietroalbini:stable-1.33.0, r=pietroalbinibors-1/+1
[stable] Rust 1.33.0 release r? @ghost cc @rust-lang/release
2019-02-25stable 1.33.0 releasePietro Albini-1/+1
2019-02-23Auto merge of #58656 - Mark-Simulacrum:beta-rollups, r=pietroalbinibors-447/+1839
Beta rollups - https://github.com/rust-lang/rust/pull/58649 - https://github.com/rust-lang/rust/pull/58592 - https://github.com/rust-lang/rust/pull/58574 - https://github.com/rust-lang/rust/pull/58227 - https://github.com/rust-lang/rust/pull/58056 - https://github.com/rust-lang/rust/pull/57859 - https://github.com/rust-lang/rust/pull/57710 A few of these are via https://github.com/rust-lang/rust/pull/58641. r? @pietroalbini
2019-02-22Fix non-clickable urlsGuillaume Gomez-4/+0
2019-02-22Fix invalid background colorGuillaume Gomez-8/+0
2019-02-22Updated RELEASES.md for 1.33.0Aaron Power-0/+148
Cherry-picked (and squashed) from #58227.
2019-02-22improve Pin documentationRalf Jung-51/+312
Incorporates a bunch of the documentation-related comments that came up when discussing `Pin` stabilization.
2019-02-22partially revert 904a0bde93f0348f69914ee90b1f8b6e4e0d7cbcNiko Matsakis-6/+37
This preserves the error you currently get on stable for the old-lub-glb-object.rs test.
2019-02-22update test files to reflect new outputNiko Matsakis-288/+826
One surprise: old-lub-glb-object.rs, may indicate a bug
2019-02-22restore the actual leak-checkNiko Matsakis-14/+277
2019-02-22introduce a dummy leak check and invoke it in all the right placesNiko Matsakis-39/+105
This set of diffs was produced by combing through b68fad670bb3612cac26e50751e4fd9150e59977 and seeing where the `leak_check` used to be invoked and how.
2019-02-22reintroduce `commit_if_ok` calls to `subtype_predicate`Niko Matsakis-14/+16
2019-02-22reintroduce `commit_if_ok` call into `higher_ranked_sub`Niko Matsakis-20/+27
2019-02-22s/skol_/placeholder_/Niko Matsakis-10/+10
2019-02-22make generalization code create new variables in correct universeNiko Matsakis-35/+114
In our type inference system, when we "generalize" a type T to become a suitable value for a type variable V, we sometimes wind up creating new inference variables. So, for example, if we are making V be some subtype of `&'X u32`, then we might instantiate V with `&'Y u32`. This generalized type is then related `&'Y u32 <: &'X u32`, resulting in a region constriant `'Y: 'X`. Previously, however, we were making these fresh variables like `'Y` in the "current universe", but they should be created in the universe of V. Moreover, we sometimes cheat in an invariant context and avoid creating fresh variables if we know the result must be equal -- we can only do that when the universes work out.
2019-02-22Fix #57979 by allowing a legitimate type error to take precedence over an ICE.Felix S. Klock II-1/+10
2019-02-20Auto merge of #58537 - pietroalbini:beta-backports, r=pietroalbinibors-111/+631
[beta] Rollup backports Cherry-picked: * #58207: Make `intern_lazy_const` actually intern its argument. * #58161: Lower constant patterns with ascribed types. * #57908: resolve: Fix span arithmetics in the import conflict error * #57835: typeck: remove leaky nested probe during trait object method resolution * #57885: Avoid committing to autoderef in object method probing * #57646: Fixes text becoming invisible when element targetted Rolled up: * #58522: [BETA] Update cargo r? @ghost
2019-02-17Rollup merge of #58522 - ehuss:update-beta-cargo, r=pietroalbiniPietro Albini-0/+0
2019-02-17Fixes text becoming invisible when element targettedGuillaume Gomez-14/+2
2019-02-17avoid committing to autoderef in object method probingAriel Ben-Yehuda-7/+81
2019-02-17add tests to a few edge cases in method lookupAriel Ben-Yehuda-0/+290
These aren't fixed by this PR, but were broken in a few older attempts at it. Make sure they don't regress.
2019-02-17add some comments to method::probe::CandidateAriel Ben-Yehuda-0/+31
2019-02-17unit test for issue 57673.Felix S. Klock II-0/+21
2019-02-17Do not initiate nested probe within `assemble_probe`.Felix S. Klock II-9/+7
In particular, the table entries (associated with type-variables created during the probe) must persist as long as the candidates assembled during the probe. If you make a nested probe without creating a nested `ProbeContext`, the table entries are popped at the end of the nested probe, while the type-variables would leak out via the assembled candidates attached to `self` (the outer `ProbeContext`). This causes an ICE (*if you are lucky*)!
2019-02-17Address review comments and cleanup codeVadim Petrochenkov-62/+59
2019-02-17#56411 do not suggest a fix for a import conflict in a macroFrançois Mockers-1/+56
2019-02-17Lower 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-17Make `intern_lazy_const` actually intern its argument.Nicholas Nethercote-38/+40
Currently it just unconditionally allocates it in the arena. For a "Clean Check" build of the the `packed-simd` benchmark, this change reduces both the `max-rss` and `faults` counts by 59%; it slightly (~3%) increases the instruction counts but the `wall-time` is unchanged. For the same builds of a few other benchmarks, `max-rss` and `faults` drop by 1--5%, but instruction counts and `wall-time` changes are in the noise. Fixes #57432, fixes #57829.
2019-02-16[BETA] Update cargoEric Huss-0/+0
2019-02-16Auto merge of #58501 - oli-obk:beta, r=eddybbors-6/+7
[beta] Fix `attempted .def_id() on invalid def: NonMacroAttr(Builtin)` backport of the fix so we can get update the bootstrap compiler to a compiler that has this fix. It's very hard to do development on stage 0/1 since resolve errors often end up with an ICE before outputting any useful diagnostics. cc @rust-lang/compiler @rust-lang/infra I would like to fast-track this backport as it severly hampers @varkor's and my rustc developments. The ICE never happens for successful compiles, only if there are errors. Since it is very minimalistic and can easily be reverted if desired I think/hope we can skip the usual beta nomination + beta accepted steps
2019-02-15libpanic_unwind => 2018: fix ICEs.Mazdak Farrokhzad-6/+7
2019-02-05Auto merge of #58159 - pietroalbini:beta-backports, r=pietroalbinibors-11/+91
[beta] Rollup backports Cherry-picked: * #58008: Pass correct arguments to places_conflict * #58007: Don't panic when accessing enum variant ctor using `Self` in match * #57978: Fix bug in integer range matching * #57862: Build the standard library for thumbv7neon-unknown-linux-gnueabihf in CI * #57659: Fix release manifest generation r? @ghost
2019-02-04Fix release manifest generationJethro Beekman-0/+1
2019-02-04Build the standard library for thumbv7neon-unknown-linux-gnueabihf in CIHenri Sivonen-2/+6
Closes #57030.
2019-02-04Fix bug in integer range matchingvarkor-7/+21
2019-02-04Don't panic when accessing enum variant ctor using `Self` in matchEsteban Küber-1/+26
2019-02-04Pass correct arguments to places_conflictMatthew Jasper-1/+37
The borrow place *must* be a place that we track borrows for, otherwise we will likely ICE.
2019-01-31Auto merge of #57990 - Keruspe:beta, r=alexcrichtonbors-2/+2
[beta] rustbuild: fix build with rust 1.33 Fixes #57262
2019-01-30rustbuild: fix build with rust 1.33Marc-Antoine Perennou-2/+2
Fixes #57262 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2019-01-24Auto merge of #57878 - pietroalbini:beta-backports, r=pietroalbinibors-3/+23
[beta] Rollup backports * #57857: Fix Android CI failing to download SDKs * #57840: Fix issue 57762 * #57698: Fix typo bug in DepGraph::try_mark_green(). r? @ghost
2019-01-24Fix typo bug in DepGraph::try_mark_green().Michael Woerister-1/+18
2019-01-24Simplify the version checkTom Tromey-4/+3
Address the review comments by simplifying the version check to just "< 8".
2019-01-24Fix issue 57762Tom Tromey-1/+5
Issue 57762 points out a compiler crash when the compiler was built using a stock LLVM 7. LLVM 7 was released without a necessary fix for a bug in the DWARF discriminant code. This patch changes rustc to use the fallback mode on (non-Rust) LLVM 7. Closes #57762
2019-01-24make sure to accept all android licensesPietro Albini-1/+1
2019-01-21Auto merge of #57766 - Xanewok:beta-rls-version-bump, r=pietroalbinibors-1/+1
beta: Update RLS version to 1.33 We missed the 1.32 stable release for version bump, let's make it less confusing and backport a version bump for the current 1.33 beta. https://github.com/rust-lang/rls/issues/1239 r? @pietroalbini cc @nrc
2019-01-20Auto merge of #57763 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-2/+2
Update beta to released compiler
2019-01-20beta: Update RLS version to 1.33Igor Matuszewski-1/+1