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 6 pull requests #107853

Merged
merged 16 commits into from
Feb 9, 2023
Merged

Rollup of 6 pull requests #107853

merged 16 commits into from
Feb 9, 2023

Commits on Feb 3, 2023

  1. unused-lifetimes: don't warn about lifetimes originating from expande…

    …d code
    
    previously, we would warn like this:
    
    ````
    warning: lifetime parameter `'s` never used
     --> /tmp/unusedlif/code.rs:6:62
      |
    5 | #[derive(Clone)]
      |          - help: elide the unused lifetime
    6 | struct ShimMethod4<T: Trait2 + 'static>(pub &'static dyn for<'s> Fn(&'s mut T::As));
      |                                                              ^^
      |
      = note: requested on the command line with `-W unused-lifetimes`
    ````
    
    Fixes rust-lang#104432
    matthiaskrgr committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    a363703 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2023

  1. Configuration menu
    Copy the full SHA
    5f98a7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa6c3a2 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

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

Commits on Feb 9, 2023

  1. Configuration menu
    Copy the full SHA
    7615045 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8dadd54 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c67ecd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8987e68 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    654f43f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    68e27b3 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#107648 - matthiaskrgr:unused_lifetime_10443…

    …2_fix, r=cjgillot
    
    unused-lifetimes: don't warn about lifetimes originating from expanded code
    
    previously, we would warn like this:
    
    ````
    warning: lifetime parameter `'s` never used
     --> /tmp/unusedlif/code.rs:6:62
      |
    5 | #[derive(Clone)]
      |          - help: elide the unused lifetime
    6 | struct ShimMethod4<T: Trait2 + 'static>(pub &'static dyn for<'s> Fn(&'s mut T::As));
      |                                                              ^^
      |
      = note: requested on the command line with `-W unused-lifetimes`
    ````
    
    Fixes rust-lang#104432
    Dylan-DPC authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    be1789a View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#107655 - notriddle:notriddle/small-url-enco…

    …de, r=GuillaumeGomez
    
    rustdoc: use the same URL escape rules for fragments as for examples
    
    Carries over improvements from rust-lang#107284
    Dylan-DPC authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    188dd72 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#107659 - bvanjoi:issue-107649, r=estebank

    test: snapshot for derive suggestion in diff files
    
    fixed rust-lang#107649
    Dylan-DPC authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    5aa062e View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#107786 - compiler-errors:new-solver-some-tw…

    …eaks, r=lcnr
    
    Implement some tweaks in the new solver
    
    I've been testing the new solver on some small codebases, and these are a few small changes I've needed to make.
    
    The most "controversial" here is implementing `trait_candidate_should_be_dropped_in_favor_of`, which I just implemented to always return false. This surprisingly allows some code to compile, without us having to actually decide on any semantics yet.
    
    r? `@rust-lang/initiative-trait-system-refactor`
    Dylan-DPC authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    39ba110 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#107803 - eggyal:do_not_bring_trait_alias_su…

    …pertraits_into_scope, r=compiler-errors
    
    Do not bring trait alias supertraits into scope
    
    Fixes rust-lang#107747
    cc rust-lang#41517
    Dylan-DPC authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    16a4138 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#107815 - compiler-errors:new-solver-no-auto…

    …-if-impl, r=lcnr
    
    Disqualify `auto trait` built-in impl in new solver if explicit `impl` exists
    Dylan-DPC authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    b080a1a View commit details
    Browse the repository at this point in the history