about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2019-04-17Correct E0392 diagnosticvarkor-5/+8
2019-04-17Do not mention missing `PartialOrd` impl when involving uncalled fnsEsteban Küber-19/+14
2019-04-18Rename moduleYuki OKUSHI-1/+1
2019-04-18Remove unnecessary conditionYuki OKUSHI-1/+1
2019-04-18Rename diagnositc_list into error_codesYuki OKUSHI-0/+0
2019-04-18Rename files in docYuki OKUSHI-11/+11
2019-04-17Auto merge of #59527 - matklad:sized-index, r=Centrilbors-0/+23
Add test checking that Index<T: ?Sized> works I've noticed that we have an `Idx: ?Sized` bound on the **index** in the `Index`, which seems strange given that we accept index by value. My guess is that it was meant to be removed in https://github.com/rust-lang/rust/pull/23601, but was overlooked. If I remove this bound, `./x.py src/libstd/ src/libcore/` passes, which means at least that this is not covered by test. I think there's three things we can do here: * run crater with the bound removed to check if there are any regressions, and merge this, to be consistent with other operator traits * run crater, get regressions, write a test for this with a note that "hey, we tried to fix it, its unfixable" * decide, in the light of by-value DSTs, that this is a feature rather than a bug, and add a test cc @rust-lang/libs EDIT: the forth alternative is that there exist a genuine reason why this is the case, but I failed to see it :D
2019-04-17Fix ICE on const evaluation of const methodEsteban Küber-0/+48
2019-04-18making adjust_span a closureSaleem Jaffer-22/+22
2019-04-17Make iterate take a FnOnce with PlaceBase and PlaceProjectionIterSantiago Pastorino-214/+236
2019-04-17Place::iterate do not take an accumulator anymore, hide that in a private fnSantiago Pastorino-3/+10
2019-04-17Place::unroll -> Place::iterateSantiago Pastorino-6/+6
2019-04-17Move unroll_place to Place::unrollSantiago Pastorino-79/+80
2019-04-17Auto merge of #60013 - NieDzejkob:fix-16bit-usize, r=sanxiynbors-1/+1
Fix the max value of usize on 16-bit platforms
2019-04-17Auto merge of #60034 - rasendubi:fix-comments, r=Centrilbors-9/+9
Small comments fix - Fix comments around test harness generation - Promote regular comments to rustdoc comments
2019-04-17add a test for unsized indexAleksey Kladov-0/+23
2019-04-17code review fixesSaleem Jaffer-25/+24
2019-04-17Resolve inconsistency in error messages between "parameter" and "variable".Eduard-Mihai Burtescu-20/+20
2019-04-17Remove nrc from toolstate pingsNick Cameron-2/+2
2019-04-17Auto merge of #60030 - Centril:rollup-3d0t24t, r=Centrilbors-426/+444
Rollup of 5 pull requests Successful merges: - #59128 (Emit ansi color codes in the `rendered` field of json diagnostics) - #59646 (const fn: Improve wording) - #59986 (Miri: refactor new allocation tagging) - #60003 (LLD is not supported on Darwin) - #60018 (Miri now supports entropy, but is still slow) Failed merges: r? @ghost
2019-04-17Rename filenameYuki OKUSHI-1/+1
2019-04-17Rename modulesYuki OKUSHI-13/+13
2019-04-17Rename error_reporting to diagnosticsYuki OKUSHI-0/+0
2019-04-17Rename diagnostics to error_codesYuki OKUSHI-0/+0
2019-04-17Promote regular comments to rustdoc commentsAlexey Shmalko-7/+7
2019-04-17Fix comments around test harness generationAlexey Shmalko-2/+2
2019-04-17Remove unwanted z-index changeGuillaume Gomez-1/+0
2019-04-17Rollup merge of #60018 - RalfJung:miri-test-libstd, r=oli-obkMazdak Farrokhzad-11/+29
Miri now supports entropy, but is still slow Adjust the `cfg` and their comments in the test suites accordingly.
2019-04-17Rollup merge of #60003 - petrhosek:llvm-lto-lld, r=cramertjMazdak Farrokhzad-2/+4
LLD is not supported on Darwin Don't enable LLD when LTO is enabled on Darwin.
2019-04-17Rollup merge of #59986 - RalfJung:miri-new-alloc, r=oli-obkMazdak Farrokhzad-164/+99
Miri: refactor new allocation tagging Tagging and initializing `AllocExtra` now go hand-in-hand so one cannot forget to do one when doing the other. In particular, `memory.allocate` is now much easier to use correctly (because it will already return a tagged pointer). r? @oli-obk
2019-04-17Rollup merge of #59646 - JohnTitor:improve-wording, r=oli-obkMazdak Farrokhzad-19/+25
const fn: Improve wording fixes #59611 This might need discussion. Feel free to close this PR if we don't need to fix.
2019-04-17Rollup merge of #59128 - oli-obk:colorful_json, r=mark-i-m,eddybMazdak Farrokhzad-230/+287
Emit ansi color codes in the `rendered` field of json diagnostics cc @ljedrz Implemented for https://github.com/rust-lang/rust/pull/56595#issuecomment-447645115 (x.py clippy)
2019-04-17test sort_unstable in MiriRalf Jung-6/+15
2019-04-17Document `Item` type in `std::env::SplitPaths` iterator.Nathan Kleyn-1/+7
Previously there wasn't any documentation to show what the type of `Item` was inside `std::env::SplitPaths`. Now, in the same format as other examples of docs in `srd` for `Iterator#Item`, we mention the type. This fixes #59543.
2019-04-17Auto merge of #60027 - jethrogb:jb/sgx-reentry-abort, r=cramertjbors-19/+11
SGX target: change re-entry abort logic Even though re-entry after exit is generally not acceptable, there is a race condition where the enclave thinks it's exited but userspace doesn't know that yet. An entry during that time will currently result in an enclave panic (see https://github.com/rust-lang/rust/pull/59997#issuecomment-483846291, https://github.com/rust-lang/rust/pull/60003#issuecomment-483888170). Instead of panicking, just do a regular exit on re-entry. cc @jseyfried
2019-04-17Auto merge of #59974 - Centril:boostrap-to-2019-04-11, ↵bors-34/+30
r=pietroalbini,Mark-Simulacrum Bump bootstrap compiler to 2019-04-11 r? @pietroalbini cc @Mark-Simulacrum cc https://github.com/rust-lang/rust/pull/58702
2019-04-17bump bootstrap; remove redundant 'use libc;' on macOS.Mazdak Farrokhzad-1/+0
2019-04-17Deny `internal` in stage0Mateusz Mikuła-29/+27
2019-04-17bump bootstrap; nightly => 1.36.Mazdak Farrokhzad-1/+1
2019-04-17bump bootstrap; fix compiletest wrt. exclude_should_panicMazdak Farrokhzad-0/+1
2019-04-17bump bootstrap; remove redundant imports.Mazdak Farrokhzad-2/+0
2019-04-17bump bootstrap => 2019-04-11Mazdak Farrokhzad-1/+1
2019-04-16SGX target: change re-entry abort logicJethro Beekman-19/+11
2019-04-16implement nth_back for EnumerateAdrian Friedli-0/+28
2019-04-16Miri: refactor new allocation taggingRalf Jung-164/+99
2019-04-16Auto merge of #59997 - ehuss:update-cargo, r=alexcrichtonbors-4/+4
Update cargo 16 commits in 6f3e9c367abb497c64f360c3839dab5e74928d5c..b6581d383ed596b133e330011658c6f83cf85c2f 2019-04-04 14:11:33 +0000 to 2019-04-16 16:02:11 +0000 - Fix new_warning_with_corrupt_ws missing "USER". (rust-lang/cargo#6857) - Ignore Clippy redundant_closure (rust-lang/cargo#6855) - Pass OsStr/OsString args through to the process spawned by cargo run. (rust-lang/cargo#6849) - Bump to 0.37.0 (rust-lang/cargo#6852) - Fix test include_overrides_gitignore. (rust-lang/cargo#6850) - Clarify optional registry key behaviour (rust-lang/cargo#6851) - Ensure Summary::checksum works for registry crates (rust-lang/cargo#6842) - Better error if PathSource::walk can't access something. (rust-lang/cargo#6841) - Improve warning in `cargo new` with parse error. (rust-lang/cargo#6839) - Improve error message for `publish` key restriction. (rust-lang/cargo#6838) - Remove `Freshness` from `DependencyQueue` (rust-lang/cargo#6832) - testsuite: cleanup for `alternative-registries` (rust-lang/cargo#6837) - Improve error message to rerun a test in a workspace. (rust-lang/cargo#6824) - Fix mutable_borrow_reservation_conflict warning. (rust-lang/cargo#6829) - Add install-upgrade. (rust-lang/cargo#6798) - Clarify docs of install without &lt;crate&gt; (rust-lang/cargo#6823)
2019-04-16implement nth_back for FuseAdrian Friedli-0/+16
2019-04-16implement nth_back for BytesAdrian Friedli-0/+5
2019-04-16Fix dark css ruleGuillaume Gomez-3/+3
2019-04-16Miri now supports entropy, but is still slowRalf Jung-9/+18