Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 12 pull requests #104168

Merged
merged 30 commits into from
Nov 9, 2022
Merged

Commits on Nov 5, 2022

  1. Configuration menu
    Copy the full SHA
    13d4c61 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Configuration menu
    Copy the full SHA
    17044c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    780952f View commit details
    Browse the repository at this point in the history
  3. fmt

    RalfJung committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    29d451c View commit details
    Browse the repository at this point in the history
  4. Add --print=split-debuginfo

    This option prints all supported values for -Csplit-debuginfo=.., i.e.
    only stable ones on stable/beta and all of them on nightly/dev.
    kamirr committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    4c3cad0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d62582f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0c9896b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d97fa25 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    87c190c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    66e8a29 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. fix: lint against lint functions

    fix: lint against the functions `LintContext::{lookup_with_diagnostics,lookup,struct_span_lint,lint}`, `TyCtxt::struct_lint_node`, `LintLevelsBuilder::struct_lint`.
    Rejyr committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    ae5cc9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f21b96 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    465ac26 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3320879 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    807a7bf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e5d01dc View commit details
    Browse the repository at this point in the history
  7. Fix outdated comment

    Co-authored-by: clubby789 <jamie@hill-daniel.co.uk>
    WaffleLapkin and clubby789 authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    268ea35 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9eb977b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#103928 - chenyukang:yukang/fix-103874-add-t…

    …y_error_with_guaranteed, r=lcnr
    
    Add 'ty_error_with_guaranteed' and 'const_error_with_guaranteed'
    
    Part of rust-lang#103874
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    3a78320 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#104027 - ted-tanner:issue-103697-fix, r=jyn514

    Place config.toml in current working directory if config not found
    
    Fixes an issue where bootsrapping a Rust build would place `config.toml` in `{src_root}` rather than the current working directory
    
    rust-lang#103697
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    3abf329 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#104093 - RalfJung:test-sizes, r=thomcc

    disable btree size tests on Miri
    
    Seems fine not to run these in Miri, they can't have UB anyway. And this lets us do layout randomization in Miri.
    
    r? ``@thomcc``
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    afaba19 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#104097 - RalfJung:miri-alloc-benches, r=thomcc

    run alloc benchmarks in Miri and fix UB
    
    Miri since recently has a "fake monotonic clock" that works even with isolation. Its measurements are not very meaningful but it means we can run these benches and check them for UB.
    
    And that's a good thing since there was UB here: fixes rust-lang#104096.
    
    r? ``@thomcc``
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    53b6a89 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#104104 - kamirr:master, r=lcnr

    Add split-debuginfo print option
    
    This option prints all supported values for `-Csplit-debuginfo=..`, i.e. only stable ones on stable/beta and all of them on nightly/dev.
    
    Motivated by 1.65.0 regression causing builds with the following entry in `Cargo.toml` to fail on Windows:
    ```toml
    [profile.dev]
    split-debuginfo = "unpacked"
    ```
    
    See rust-lang/cargo#11347 for details.
    
    This will lead to closing rust-lang#103976.
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    92f1c6f View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#104109 - yancyribbens:add-mutable-to-commen…

    …t-for-align-to-mut, r=thomcc
    
    rustdoc: Add mutable to the description
    
    `mutable` is missing from the description.  Currently the description for [align_to](https://github.com/rust-lang/rust/blob/master/library/core/src/slice/mod.rs#L3498) is the same as [align_to_mut](https://github.com/rust-lang/rust/blob/master/library/core/src/slice/mod.rs#L3559)
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    c39cf7a View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#104113 - ink-feather-org:fix_const_fn_ref_i…

    …mpls, r=compiler-errors
    
    Fix `const_fn_trait_ref_impl`, add test for it
    
    rust-lang#99943 broke `#[feature(const_fn_trait_ref_impl)]`, this PR fixes this and adds a test for it.
    
    r? ````@fee1-dead````
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    02db37a View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#104114 - GuillaumeGomez:background-image-pa…

    …th, r=notriddle
    
    Fix invalid background-image file name
    
    This is a follow-up of rust-lang#101702.
    
    Apparently the image hash was the wrong one. You can see the error in https://doc.rust-lang.org/nightly/core/primitive.u16.html?search=hello too.
    
    I really need to check if I can adds check for resources load errors in `browser-ui-test`.
    
    cc ``````@jsha``````
    r? ``````@notriddle``````
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    3d20047 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#104132 - Rejyr:rustc_lint-function-lints, r…

    …=davidtwco
    
    fix: lint against lint functions
    
    Add `#[rustc_lint_diagnostics]` to lint functions missing them. From [this discussion](rust-lang#101138 (comment)).
    
    r? ```@davidtwco```
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    a92d83a View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#104139 - ferrocene:pa-channel-licensing, r=…

    …pnkfelix
    
    Clarify licensing situation of MPSC and SPSC queue
    
    Originally, these two files were licensed under the `BSD-2-Clause` license, as they were based off sample code on a blog licensing those snippets under that license:
    
    * `library/std/src/sync/mpsc/mpsc_queue.rs`
    * `library/std/src/sync/mpsc/spsc_queue.rs`
    
    In 2017 though, the author of that blog agreed to relicense their code under the standard `MIT OR Apache-2.0` license in rust-lang#42149. This PR clarifies the situation in the files by expanding the comment at the top of the file.
    
    r? ``@pnkfelix``
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    ed38562 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#104147 - WaffleLapkin:don't-compare-ptr-add…

    …resses-in-parser-, r=compiler-errors
    
    Remove an address comparison from the parser
    
    Originally this check was added in rust-lang#68985, as suggested by rust-lang@940f657#r376850175. I don't think that this address check is a robust way of making parser more robust.
    
    This code is also extensively tested by [`ui/parser/issues/issue-35813-postfix-after-cast.rs`](https://github.com/rust-lang/rust/blob/57d3c58ed6e0faf89a62411f96c000ffc9fd3937/src/test/ui/parser/issues/issue-35813-postfix-after-cast.rs).
    
    _Replaces #103700_
    
    r? `@compiler-errors`
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    e3c98a8 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#104165 - Manishearth:triagebot-llvm, r=Mark…

    …-Simulacrum
    
    Add llvm-main to triagebot.toml
    GuillaumeGomez authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    c46cc1d View commit details
    Browse the repository at this point in the history