about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-01-28libcore: avoid mem::uninitialized and raw ptr castsRalf Jung-13/+49
2019-01-28liballoc: remove unneeded allow(deprecated)Ralf Jung-3/+0
2019-01-28libcore: remove unneeded allow(deprecated)Ralf Jung-4/+2
2019-01-28Auto merge of #57691 - Zoxc:pass-skip, r=petrochenkovbors-19/+43
Conditionally skip two passes if their related attributes were not found
2019-01-28Conditionally skip two passes if their related attributes were not foundJohn Kåre Alsaker-19/+43
2019-01-28Auto merge of #57910 - Mark-Simulacrum:delete-test, r=petrochenkovbors-4/+2
Delete long-ignored and useless test cc @pnkfelix (https://github.com/rust-lang/rust/issues/13745#issuecomment-457599109) r? @petrochenkov as you re-enabled this test in 21d67c45a3d032b3f0d421e6f882f11ea43d1f9c, https://github.com/rust-lang/rust/pull/55236
2019-01-27add typo suggestion to unknown attribute errorAndy Russell-8/+108
2019-01-28Auto merge of #57442 - oli-obk:lazy_const, r=RalfJungbors-80/+71
Simplify `ConstValue::ScalarPair` While looking at #57432 I realized that some of our types for representing constants are very big. This reduces `LazyConst` to 3/4th of its original size and simplifies some code around slices at the same time. r? @RalfJung
2019-01-28SymbolPathBuffer shallow refactoringDenys Zariaiev-80/+76
2019-01-28NVPTX: by-default use target cpu "sm_30"Denys Zariaiev-5/+5
2019-01-27Mark non-static generators as always UnpinWim Looman-4/+34
2019-01-27Temporary workaround for travis diagnostic differenceWim Looman-4/+6
2019-01-27Update generator upvar debug infoWim Looman-0/+43
2019-01-27Update generator transform and generated function signatureWim Looman-0/+52
2019-01-27impl Generator for Pin<Box<Generator>>Wim Looman-0/+23
2019-01-27Mark static generators as !UnpinWim Looman-0/+36
2019-01-27Change generator trait to use pinningWim Looman-170/+209
2019-01-27Auto merge of #56932 - clarcharr:iter_refactor, r=Centrilbors-3862/+4032
Refactor core::iter module A while back, I refactored `core::ops` in #42523 because the module had become a giant mess and was difficult to modify. Now, I'm doing the same with the `core::iter` module. Like the `core::ops` refactor, things have been split up into multiple commits to make rebasing easier, and so that you can follow changes. Although the diffs are hard to decipher, the only actual code changes I've made in the first few commits are to modify exports and imports. I save all of the actual code refactoring, e.g. modifying what methods are called, for the end.
2019-01-27`ConstValue::ScalarPair` only needs to represent slicesOliver Scherer-82/+59
2019-01-27Add some size assertions for const eval typesOliver Scherer-0/+14
2019-01-27Fix indentationOliver Scherer-1/+1
2019-01-27Auto merge of #57765 - Mark-Simulacrum:bootstrap-bump, r=alexcrichtonbors-238/+177
Bump bootstrap compiler to 1.33 beta r? @alexcrichton or @pietroalbini cc @rust-lang/release
2019-01-27Update comment in test which has changed its purposeMark Rousskov-4/+2
2019-01-27Update cargo to fix deprecation warningsMark Rousskov-0/+0
Implemented in rust-lang/cargo#6600
2019-01-27Auto merge of #57826 - danielhenrymantilla:master, r=Centrilbors-1/+1
Fixed Deref coercion explanation for DerefMut using shared references
2019-01-27Enable CI for `nvptx64-nvidia-cuda`Denys Zariaiev-0/+19
2019-01-27Create `nvptx64-nvidia-cuda` target specificationDenys Zariaiev-17/+433
2019-01-27Make 'generate-redirect-pages' option unstableGuillaume Gomez-3/+3
2019-01-27Add generate-old-style-files option to rustdocGuillaume Gomez-25/+77
2019-01-27Fix stray typoRémy Rakic-1/+1
2019-01-27Extract the notes explaining the placeholder region errors to a helper fnRémy Rakic-8/+43
2019-01-27When mentioning lifetimes, put either the trait ref or the self type closer ↵Rémy Rakic-44/+81
to the lifetimes When mentioning lifetimes, only invert wording between the expected trait and the self type when the self type has the vid. This way, the lifetimes always stay close to the self type or trait ref that actually contains them.
2019-01-27Fix issue-57362-1.rs attributesRémy Rakic-0/+0
2019-01-27comment the patternNiko Matsakis-0/+15
2019-01-27identify when implemented for "some specific lifetime"Niko Matsakis-139/+134
2019-01-27add a lot more `debug!` to `try_report_placeholders_trait`Niko Matsakis-0/+15
2019-01-27break apart testsNiko Matsakis-17/+24
2019-01-27Test new placeholder error messages in previously untested combinationsRemy Rakic-0/+61
2019-01-27Update test expectations for new placeholder error messagesRemy Rakic-44/+44
2019-01-27Update two E308 tests to the new placeholder errorlqd-2/+2
2019-01-27Try to reword placeholder error messages to make them clearerlqd-31/+45
2019-01-27Try to resolve type vars in the placeholder errors trait refslqd-8/+12
These can sometimes be unresolved: some of the rustc UI tests show this.
2019-01-27Handle higher-ranked lifetime conflict errors where the subtype is the `sup` ↵lqd-0/+24
region These are happening since the switch to universes, and will now go through the "placeholder error" path, instead of the current fallback of E308 "mismatched types" errors.
2019-01-27Make NiceRegionError use the `InferCtxt` instead of its `TyCtxt`lqd-44/+48
Some errors (e.g placeholder errors) have unresolved type vars so this will allow to use `resolve_type_vars_if_possible` when needed.
2019-01-27Auto merge of #57927 - Alexendoo:mem-drop-nll-docs, r=Centrilbors-28/+1
Remove lexical scope examples from std::mem::drop The example no longer produces an error in the 2018 edition
2019-01-27Auto merge of #57907 - euclio:applicability-rename, r=estebankbors-420/+333
remove deprecated suggestion functions This PR removes the (now unused) deprecated suggestion functions and removes `_with_applicability` from their replacements' names. This PR will break clippy, but I'll open a clippy PR once this is merged.
2019-01-26remove `_with_applicability` from suggestion fnsAndy Russell-418/+315
2019-01-26document `Applicability`Andy Russell-2/+18
2019-01-27Auto merge of #57925 - fintelia:riscv-cas, r=nagisabors-1/+1
Enable RISC-V atomic compare and swap Fixes #56564
2019-01-27Auto merge of #57871 - Mark-Simulacrum:fix-compiletest-stamp, r=oli-obkbors-24/+47
Correctly set filetime for copied LLVM This also makes compiletest no longer always retest everything. Fixes #57864