about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2020-06-02Auto merge of #72905 - JohnTitor:rollup-phtyo5i, r=JohnTitorbors-87/+238
Rollup of 10 pull requests Successful merges: - #72775 (Return early to avoid ICE) - #72795 (Add a test for `$:ident` in proc macro input) - #72822 (remove trivial calls to mk_const) - #72825 (Clarify errors and warnings about the transition to the new asm!) - #72827 (changed *nix to Unix-like) - #72880 (Clean up E0637 explanation) - #72886 (Remove allow missing_debug_implementations for MaybeUninit) - #72889 (rustc: Remove the `--passive-segments` LLD flag on wasm) - #72891 (Add associated consts MIN/MAX for Wrapping<Int>) - #72893 (test miri-unleash TLS accesses) Failed merges: r? @ghost
2020-06-02Rollup merge of #72893 - RalfJung:unleash-tls, r=ecstatic-morseYuki Okushi-15/+58
test miri-unleash TLS accesses Finally gets rid of `IS_SUPPORTED_IN_MIRI`. :-) I also added a test for the new `asm!` while I am at it. r? @ecstatic-morse Cc @rust-lang/wg-const-eval
2020-06-02Rollup merge of #72891 - lzutao:wrapping_int-max, r=sfacklerYuki Okushi-12/+4
Add associated consts MIN/MAX for Wrapping<Int>
2020-06-02Rollup merge of #72889 - alexcrichton:update-wasm-threads, r=nikomatsakisYuki Okushi-4/+0
rustc: Remove the `--passive-segments` LLD flag on wasm This flag looks like it's been removed in LLVM 10, so this removes rustc unconditionally passing the flag.
2020-06-02Rollup merge of #72886 - xfix:patch-21, r=jonas-schievinkYuki Okushi-1/+0
Remove allow missing_debug_implementations for MaybeUninit It already has a Debug implementation.
2020-06-02Rollup merge of #72880 - GuillaumeGomez:cleanup-e0637, r=Dylan-DPCYuki Okushi-1/+4
Clean up E0637 explanation r? @Dylan-DPC
2020-06-02Rollup merge of #72827 - milrope:patch-1, r=nikomatsakisYuki Okushi-1/+1
changed *nix to Unix-like
2020-06-02Rollup merge of #72825 - Amanieu:asm-warning, r=davidtwcoYuki Okushi-12/+21
Clarify errors and warnings about the transition to the new asm! Hopefully addresses the concerns from https://github.com/rust-lang/rust/pull/71007#issuecomment-636412905.
2020-06-02Rollup merge of #72822 - lcnr:intern-me, r=estebankYuki Okushi-1/+5
remove trivial calls to mk_const similar to #72754
2020-06-02Rollup merge of #72795 - petrochenkov:identgroup, r=nikomatsakisYuki Okushi-33/+99
Add a test for `$:ident` in proc macro input cc https://github.com/rust-lang/rust/issues/72545#issuecomment-636388019
2020-06-02Rollup merge of #72775 - JohnTitor:await-sugg, r=estebankYuki Okushi-7/+46
Return early to avoid ICE Fixes #72766
2020-06-02Fix commentRalf Jung-1/+1
Co-authored-by: Aaron Hill <aa1ronham@gmail.com>
2020-06-01Auto merge of #72779 - RalfJung:miri, r=oli-obkbors-23/+42
bump Miri, update for cargo-miri being a separate project r? @oli-obk Fixes https://github.com/rust-lang/rust/issues/72801
2020-06-01test miri-unleash TLS accessesRalf Jung-15/+58
2020-06-01bump Miri, update for cargo-miri being a separate projectRalf Jung-23/+42
2020-06-01Add associated consts MIN/MAX for Wrapping<Int>Lzu Tao-12/+4
2020-06-01rustc: Remove the `--passive-segments` LLD flag on wasmAlex Crichton-4/+0
This flag looks like it's been removed in LLVM 10, so this removes rustc unconditionally passing the flag.
2020-06-01Remove allow missing_debug_implementations for MaybeUninitKonrad Borowski-1/+0
It already has a Debug implementation.
2020-06-01Auto merge of #71192 - oli-obk:eager_alloc_id_canonicalization, r=wesleywiserbors-23/+157
Make TLS accesses explicit in MIR r? @rust-lang/wg-mir-opt cc @RalfJung @vakaras for miri thread locals cc @bjorn3 for cranelift fixes #70685
2020-06-01Clean up E0637 explanationGuillaume Gomez-1/+4
2020-06-01Auto merge of #72844 - Dylan-DPC:rollup-i51qv5z, r=Dylan-DPCbors-184/+278
Rollup of 5 pull requests Successful merges: - #72776 (fulfill: try using SmallVec or Box for stalled_on) - #72818 (Clean up E0622 explanation) - #72823 (Add descriptions for all queries) - #72832 (RELEASES.md: Expand `cargo tree` note to mention `cargo tree -d`) - #72834 (Rephrase term 'non-pointer type') Failed merges: r? @ghost
2020-06-01Rollup merge of #72834 - JOE1994:correct_confusing_term, r=sfacklerDylan DPC-4/+4
Rephrase term 'non-pointer type' Hello :cat2: , If the reader assumes that 'pointer type's include 'smart pointer's, the term 'non-pointer type' could mislead the reader to assume that x should not be a smart pointer type. I tried to rephrase the term 'non-pointer type' to remove ambiguity in the doc comments. closes #72335 Thank you for reviewing this PR! :superhero_woman:
2020-06-01Rollup merge of #72832 - joshtriplett:cargo-tree-d, r=Mark-SimulacrumDylan DPC-0/+2
RELEASES.md: Expand `cargo tree` note to mention `cargo tree -d` Useful feature that people might not automatically associate with `cargo tree`.
2020-06-01Rollup merge of #72823 - matthewjasper:describe-queries, r=eddybDylan DPC-174/+257
Add descriptions for all queries This also removes the default description for queries with DefId keys and makes the macro validate that a description is provided. cc #72730 r? @eddyb
2020-06-01Rollup merge of #72818 - GuillaumeGomez:cleanup-e0622, r=Dylan-DPCDylan DPC-3/+11
Clean up E0622 explanation r? @Dylan-DPC
2020-06-01Rollup merge of #72776 - lcnr:stalled_on-smallvec, r=nnethercoteDylan DPC-3/+4
fulfill: try using SmallVec or Box for stalled_on Tested both `Box` and `SmallVec` for `stalled_on`, with both resulting in a perf loss. Adds a comment mentioning this and removes an now outdated FIXME. Logging the length of `stalled_on` resulted in the following distribution while building a part of stage 1 libs: ``` 22627647 counts: ( 1) 20983696 (92.7%, 92.7%): process_obligation_len: 1 ( 2) 959711 ( 4.2%, 97.0%): process_obligation_len: 2 ( 3) 682326 ( 3.0%,100.0%): process_obligation_len: 0 ( 4) 1914 ( 0.0%,100.0%): process_obligation_len: 3 ``` cc @eddyb r? @nnethercote
2020-05-31Auto merge of #72831 - Dylan-DPC:rollup-6rxjwt9, r=Dylan-DPCbors-29/+62
Rollup of 5 pull requests Successful merges: - #72691 (Fix escape key handling) - #72807 (Avoid setting wrong obligation cause span of associated type mismatch) - #72812 (Miri tests: skip parts of test_char_range) - #72829 (Clarify terms in doc comments) - #72830 (Fix release notes for niche initialization change) Failed merges: r? @ghost
2020-05-31Rephrase term 'non-pointer type'JOE1994-4/+4
If the reader assumes that 'pointer type's include 'smart pointer's, the term 'non-pointer type' could mislead the reader to assume that x should not be a smart pointer type. I tried to rephrase the term 'non-pointer type' to remove ambiguity in the doc comments. closes #72335 Thank you for reviewing this PR! :)
2020-05-31RELEASES.md: Expand `cargo tree` note to mention `cargo tree -d`Josh Triplett-0/+2
Useful feature that people might not automatically associate with `cargo tree`.
2020-05-31Rollup merge of #72830 - rust-lang:sfackler-patch-1, r=Mark-SimulacrumDylan DPC-2/+2
Fix release notes for niche initialization change MaybeUninit is not affected by the linked PR.
2020-05-31Rollup merge of #72829 - JOE1994:clarify_terms, r=jonas-schievinkDylan DPC-2/+2
Clarify terms in doc comments Doc comments of `copy_from_slice` say that people should use `clone_from_slice` when 'src' doesn't implement `Copy`. However, 'src' is a reference and it always implements `Copy`. The term 'src' should be fixed to `T`(element type of slice 'src') in the doc comments. Thank you for reviewing this PR :) :smiley_cat:
2020-05-31Rollup merge of #72812 - RalfJung:miri-char-test, r=jonas-schievinkDylan DPC-2/+5
Miri tests: skip parts of test_char_range The new `test_char_range` test takes forever in Miri as it loops over all values of `char`. This makes it skip most of them when being run in Miri.
2020-05-31Rollup merge of #72807 - xiaotianrandom:fix-assoc-type-diagnostics, r=estebankDylan DPC-19/+41
Avoid setting wrong obligation cause span of associated type mismatch Removes code that sets wrong obligation cause span of associated type mismatch. See the linked issue for details. Closes #72806.
2020-05-31Rollup merge of #72691 - GuillaumeGomez:escape-key-handling, r=kinnisonDylan DPC-4/+12
Fix escape key handling Fixes #72647. The problem was that you could have a timeout just after the moment you press "escape", putting back the results. r? @kinnison
2020-05-31Add descriptions for all queriesMatthew Jasper-174/+257
2020-05-31Fix release notes for niche initialization changeSteven Fackler-2/+2
MaybeUninit is not affected by the linked PR.
2020-05-31Clarify terms in doc commentsJOE1994-2/+2
Doc comments of 'copy_from_slice' say that people should use 'clone_from_slice' when 'src' doesn't implement 'Copy'. However, 'src' is a reference and it always implements 'Copy'. The term 'src' should be fixed to 'T' in the doc comments. Thank you for reviewing this PR :)
2020-06-01changed *nix to Unix-likeMiller-1/+1
2020-05-31Clarify errors and warnings about the transition to the new asm!Amanieu d'Antras-12/+21
2020-05-31Auto merge of #72767 - pnkfelix:track-devirtualized-filenames-issue-70924, ↵bors-41/+130
r=eddyb Track devirtualized filenames Split payload of FileName::Real to track both real and virtualized paths. (Such splits arise from metadata refs into libstd; the virtualized paths look like `/rustc/1.45.0/src/libstd/io/cursor.rs` rather than `/Users/felixklock/Dev/Mozilla/rust.git/src/libstd/io/cursor.rs`) This way, we can emit the virtual name into things like the like the StableSourceFileId (as was done back before PR #70642) that ends up in incremental build artifacts, while still using the devirtualized file path when we want to access the file. Fix #70924
2020-05-31remove trivial calls to mk_constBastian Kauschke-1/+5
2020-05-31Auto merge of #72813 - RalfJung:rollup-4ko6q8j, r=RalfJungbors-144/+136
Rollup of 5 pull requests Successful merges: - #72683 (from_u32_unchecked: check validity, and fix UB in Wtf8) - #72715 (Account for trailing comma when suggesting `where` clauses) - #72745 (generalize Borrow<[T]> for Interned<'tcx, List<T>>) - #72749 (Update stdarch submodule to latest head) - #72781 (Use `LocalDefId` instead of `NodeId` in `resolve_str_path_error`) Failed merges: r? @ghost
2020-05-31Put input timeout clearance inside a functionGuillaume Gomez-13/+11
2020-05-31Clean up E0622 explanationGuillaume Gomez-3/+11
2020-05-31Miri tests: skip parts of test_char_rangeRalf Jung-2/+5
2020-05-31Rollup merge of #72781 - marmeladema:rustdoc-def-id-resolve-str-path-error, ↵Ralf Jung-11/+12
r=petrochenkov Use `LocalDefId` instead of `NodeId` in `resolve_str_path_error` Together with https://github.com/rust-lang/rust/pull/72777 this should remove all uses of `NodeId` in `rustdoc`. cc #50928 r? @petrochenkov
2020-05-31Rollup merge of #72749 - vertexclique:vcq/update-stdarch, r=AmanieuRalf Jung-0/+0
Update stdarch submodule to latest head Includes avx512 work & aarch64 tme.
2020-05-31Rollup merge of #72745 - lcnr:interned-cleanup, r=petrochenkovRalf Jung-48/+2
generalize Borrow<[T]> for Interned<'tcx, List<T>>
2020-05-31Rollup merge of #72715 - estebank:trailing-comma-where, r=petrochenkovRalf Jung-17/+10
Account for trailing comma when suggesting `where` clauses Fix #72693.
2020-05-31Rollup merge of #72683 - RalfJung:char-debug-check, r=Mark-SimulacrumRalf Jung-68/+112
from_u32_unchecked: check validity, and fix UB in Wtf8 Fixes https://github.com/rust-lang/rust/issues/72760