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 10 pull requests #104542

Closed
wants to merge 23 commits into from

Commits on Nov 1, 2022

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

Commits on Nov 13, 2022

  1. Configuration menu
    Copy the full SHA
    b4580d5 View commit details
    Browse the repository at this point in the history
  2. Update GUI test

    GuillaumeGomez committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    4074aae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dacf9b8 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. Generalize the ToPredicate trait

    Its name is now not accurate anymore, but we'll adjust that later
    oli-obk committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    634df06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f11f3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20ea083 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c2d4dd View commit details
    Browse the repository at this point in the history
  5. Don't attempt to normalize compiler backtraces

    Backtraces can very significantly depending on environment and cause
    test suite failures spuriously. Ensuring a proper failure-status should
    be sufficient to keep a crash properly documented.
    David Koloski committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    b44d808 View commit details
    Browse the repository at this point in the history
  6. Edit docs for rustc_errors::Handler::stash_diagnostic

    Clarify that the diagnostic can be retrieved with `steal_diagnostic`.
    pierwill committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    4edbaef View commit details
    Browse the repository at this point in the history
  7. rustdoc: remove redundant font-color CSS on .where

    Before 7f6ce7d, light-theme where clauses
    had color `#4E4C4C` while the main color was `#000`. One of that commit's
    simplifications made it so that everything used the same black.
    notriddle committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    893bd78 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    75afb22 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. rustdoc: clean up sidebar width CSS

    This commit takes advantage of the ability to set [flex-basis] to a specific
    length instead of setting it to `auto` and changing min-/max-width, and
    setting flex-grow/-shrink both to 0.
    
    [flex-basis]: https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis
    notriddle committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    ebee589 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#103852 - compiler-errors:rpitit-early-from-…

    …impl, r=lcnr
    
    Don't remap early-bound regions for return-position `impl Trait` in trait originating from `impl`
    
    long title 😓
    
    We don't want to remap early-bound regions that originate from the `impl`s themselves, since they have no corresponding region in the trait. Not sure if there's a better condition than checking if the EBR's def-id's parent is the impl -- maybe we should be checking if the region comes from the method or RPITIT... 🤷
    
    r? types
    
    Fixes rust-lang#103850
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    65bd668 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#104366 - GuillaumeGomez:simplify-settings-t…

    …heme-choice, r=notriddle
    
    Simplify settings theme choice
    
    I removed the storage changes from rust-lang#98765 and only kept the UI changes.
    
    You can test it [here](https://rustdoc.crud.net/imperio/simplify-settings-theme-choice/foo/index.html).
    
    Discussion about this still in progress [on zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/Last.20part.20of.20settings.20simplification).
    
    r? ``@notriddle``
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    3c4be61 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#104444 - chenyukang:yukang/fix-104390, r=co…

    …mpiler-errors
    
    Fix ICE in in_operand for ty error
    
    Fixes rust-lang#104390
    
    By the way, moving some test cases to proper directory for tidy bless.
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    d476d21 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#104483 - oli-obk:santa-clauses-make-goals, …

    …r=compiler-errors
    
    Convert predicates into Predicate in the Obligation constructor
    
    instead of having almost all callers do that.
    
    This reduces a bit of boilerplate, and also paves the way for my work towards rust-lang/compiler-team#531 (as it makes it easier to accept both goals and clauses where right now it only accepts predicates).
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    8c3bad2 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#104496 - djkoloski:dont_normalize_compiler_…

    …backtraces, r=jackh726
    
    Don't attempt to normalize compiler backtraces
    
    Backtraces can very significantly depending on environment and cause spurious test suite failures. Ensuring a proper failure-status should be sufficient to keep a crash properly documented.
    
    This caused a failure in Fuchsia's test suite CI due to an extra newline between "stack" and "error" appearing after normalization.
    
    cc ``@jackh726``
    r? ``@tmandry``
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    940a441 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#104498 - pierwill:stash-diag-docs, r=compil…

    …er-errors
    
    Edit docs for `rustc_errors::Handler::stash_diagnostic`
    
    Clarify that the diagnostic can be retrieved with `steal_diagnostic`.
    
    r? ``@compiler-errors``
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    2440c02 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#104503 - notriddle:notriddle/where, r=Guill…

    …aumeGomez
    
    rustdoc: remove redundant font-color CSS on `.where`
    
    Before 7f6ce7d, light-theme where clauses had color `#4E4C4C` while the main color was `#000`. One of that commit's simplifications made it so that everything used the same black.
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    0a06bcf View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#104508 - compiler-errors:dyn-return, r=oli-obk

    Check `dyn*` return type correctly
    
    In `check_fn`, if the declared return type is `dyn Trait`, then we check the return type separately to produce better diagnostics, because this is never valid -- however, when `dyn*` was introduced, this check was never adjusted to only account for *unsized* `dyn Trait` and not *sized* `dyn* Trait`.
    
    Fixes rust-lang#104501
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    6e033cc View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#104515 - chenyukang:yukang/fix-104510-ice, …

    …r=compiler-errors
    
    ICE fixing, remove is_tainted_by_errors since we have ty_error for delay bug
    
    Fixes rust-lang#104510
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    f50bdc9 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#104516 - notriddle:notriddle/flex-basis-sid…

    …ebar-width, r=GuillaumeGomez
    
    rustdoc: clean up sidebar width CSS
    
    This commit takes advantage of the ability to set [flex-basis] to a specific length instead of setting it to `auto` and changing min-/max-width, and setting flex-grow/-shrink both to 0.
    
    This PR should not cause any visual changes.
    
    preview: https://notriddle.com/notriddle-rustdoc-demos/flex-basis-sidebar-width/std/index.html
    
    [flex-basis]: https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis
    matthiaskrgr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    dc1c27a View commit details
    Browse the repository at this point in the history