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 7 pull requests #96734

Merged
merged 15 commits into from
May 5, 2022
Merged

Rollup of 7 pull requests #96734

merged 15 commits into from
May 5, 2022

Commits on May 3, 2022

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

Commits on May 4, 2022

  1. Configuration menu
    Copy the full SHA
    5022d76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67d1e7b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b20da8 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Configuration menu
    Copy the full SHA
    dde590d View commit details
    Browse the repository at this point in the history
  2. suggest calling Self::associated_function()

    do not suggest when trait_ref is some
    
    Update compiler/rustc_resolve/src/late/diagnostics.rs
    
    Co-authored-by: lcnr <[email protected]>
    
    use helper struct
    
    add a test for functions with some params
    
    refactor debug log
    TaKO8Ki committed May 5, 2022
    Configuration menu
    Copy the full SHA
    df25189 View commit details
    Browse the repository at this point in the history
  3. give it a scary name

    RalfJung committed May 5, 2022
    Configuration menu
    Copy the full SHA
    e47d6c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e204dd View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#95359 - jhpratt:int_roundings, r=joshtriplett

    Update `int_roundings` methods from feedback
    
    This updates `#![feature(int_roundings)]` (rust-lang#88581) from feedback. All methods now take `NonZeroX`. The documentation makes clear that they panic in debug mode and wrap in release mode.
    
    r? `@joshtriplett`
    
    `@rustbot` label +T-libs +T-libs-api +S-waiting-on-review
    matthiaskrgr authored May 5, 2022
    Configuration menu
    Copy the full SHA
    4780141 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#95843 - GuillaumeGomez:improve-new-cyclic-d…

    …oc, r=m-ou-se
    
    Improve Rc::new_cyclic and Arc::new_cyclic documentation
    
    Fixes rust-lang#95672.
    
    cc `@CAD97` (since I used your explanations)
    matthiaskrgr authored May 5, 2022
    Configuration menu
    Copy the full SHA
    3f07303 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#96507 - TaKO8Ki:suggest-calling-associated-…

    …function, r=lcnr
    
    Suggest calling `Self::associated_function()`
    
    closes rust-lang#96453
    matthiaskrgr authored May 5, 2022
    Configuration menu
    Copy the full SHA
    34bf620 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#96635 - GuillaumeGomez:js-script-mode, r=no…

    …triddle
    
    Use "strict" mode in JS scripts
    
    Part of rust-lang#93058.
    
    r? `@notriddle`
    matthiaskrgr authored May 5, 2022
    Configuration menu
    Copy the full SHA
    9520641 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#96673 - oli-obk:tait_impl_diagnostic, r=pet…

    …rochenkov
    
    Report that opaque types are not allowed in impls even in the presence of other errors
    
    fixes  rust-lang#96569
    
    before this PR those useful errors were hidden because either `unused parameter` or `only traits defined in the current crate can be implemented for arbitrary types` got emitted first.
    matthiaskrgr authored May 5, 2022
    Configuration menu
    Copy the full SHA
    5f8a2f6 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#96682 - nnethercote:show-invisible-delims, …

    …r=petrochenkov
    
    Show invisible delimeters (within comments) when pretty printing.
    
    Because invisible syntax is really hard to work with!
    
    r? `@petrochenkov`
    matthiaskrgr authored May 5, 2022
    Configuration menu
    Copy the full SHA
    7a915dd View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#96714 - RalfJung:scalar-pair-debug, r=oli-obk

    interpret/validity: debug-check ScalarPair layout information
    
    This would have caught rust-lang#96158.
    I ran the Miri test suite and it still passes.
    
    r? `@oli-obk`
    matthiaskrgr authored May 5, 2022
    Configuration menu
    Copy the full SHA
    6804819 View commit details
    Browse the repository at this point in the history