about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
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-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-0/+0
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 <crate> (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
2019-04-16Update cargoEric Huss-0/+0
2019-04-16Fix the max value of usize on 16-bit platformsJakub Kądziołka-1/+1
2019-04-16Auto merge of #59879 - ebarnard:patch-1, r=alexcrichtonbors-0/+7
Add a comment explaining why SecRandomCopyBytes is not used on MacOS SecRandomCopyBytes is [available since MacOS 10.7](https://developer.apple.com/documentation/security/1399291-secrandomcopybytes?language=objc) which is the minimum supported version and which was suggested in https://github.com/rust-lang/rust/pull/58901#issuecomment-470188115 is the earliest version currently in use. This matches the behaviour of other platforms which have a random number generator syscall available.
2019-04-16Don't test json with color codes on windowsOliver Scherer-53/+54
2019-04-16fixing testsSaleem Jaffer-1/+1
2019-04-16Add a comment explaining why SecRandomCopyBytes is not used on MacOSEd Barnard-0/+7
2019-04-16rustc_metadata: more safely read/write the index positions.Eduard-Mihai Burtescu-45/+80
2019-04-16refactor ExprKind to use new PointerCast enumSaleem Jaffer-99/+21
2019-04-16Auto merge of #59769 - RalfJung:compiletest-normalization, r=alexcrichtonbors-10/+92
compiletest normalization: preserve non-JSON lines such as ICEs Currently, every non-JSON line from stderr gets normalized away when compiletest normalizes the output. In particular, ICEs get normalized to the empty output. That does not seem desirable, so this changes normalization to preserve non-JSON lines instead. Also see https://github.com/laumann/compiletest-rs/issues/169: because of that bug, Miri currently *looks* green in the toolstate, but some tests ICE. That same bug is likely no longer present in latest compiletest because the error code gets checked separately, but it still seems like a good idea to also make sure that ICEs are considered stderr output: This change found an accidental user-visible `error!` in CTFE validation (fixed), and a non-deterministic panic when there are two `main` symbols (not fixed, no idea where this comes from). Both got missed before because non-JSON output got ignored.
2019-04-16this panic occurs not just on Windows, normalize it away everywhereRalf Jung-6/+6
2019-04-16refactor Adjustment to use new PointerCast enumSaleem Jaffer-84/+85
2019-04-16Auto merge of #60007 - Centril:rollup-gdh1er4, r=Centrilbors-14/+185
Rollup of 6 pull requests Successful merges: - #59717 (improve docs for std::hint::unreachable_unchecked()) - #59903 (Continue evaluating after missing main) - #59973 (Fix rustdoc sidebar z-index) - #59992 (rustdoc: use --static-root-path for settings.js) - #59993 (include mode in unused binding suggestion span) - #60000 (Add repo-specific triagebot configuration) Failed merges: r? @ghost
2019-04-16Rollup merge of #59993 - euclio:unused-ref-field, r=estebankMazdak Farrokhzad-5/+119
include mode in unused binding suggestion span Fixes #54180.