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 #106654

Closed

Commits on Nov 28, 2022

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

Commits on Dec 13, 2022

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

Commits on Dec 14, 2022

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

Commits on Dec 27, 2022

  1. Configuration menu
    Copy the full SHA
    564435f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e2536b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d2404d6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    050bc95 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2023

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

Commits on Jan 8, 2023

  1. Forbid #[suggestion_*(...)] on Vecs

    It is ambiguous whether this should produce several `.span_suggestions()`
    calls or one `.multipart_suggestions()` call.
    Xiretza committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    6b01b35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e2ae86 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58edd7f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    27c0c46 View commit details
    Browse the repository at this point in the history
  5. Fix condition for "missing struct" diagnostic on tuple structs

    The check previously matched this, and suggested adding a missing
    `struct`:
    
    pub Foo(...):
    
    It was probably intended to match this instead (semicolon instead of
    colon):
    
    pub Foo(...);
    Xiretza committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    f94a148 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5783b8c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e5282a8 View commit details
    Browse the repository at this point in the history
  8. Convert rustc_parse::parser::pat::Expected to enum

    This is required in order to support translatable diagnostics.
    Xiretza committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    e4e17a3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5167ca8 View commit details
    Browse the repository at this point in the history
  10. rustc_parse: revert conversion of "non-item in item list" diagnostic

    #[derive(Subdiagnostic)] does not allow multiple subdiagnostics on one
    variant, as in NonItemInItemListSub::Other.
    Xiretza committed Jan 8, 2023
    Configuration menu
    Copy the full SHA
    a37ff4c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    02141b6 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Relocate changes

    HintringerFabian authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    c364d32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    31099ee View commit details
    Browse the repository at this point in the history
  3. Accept old spelling of Fuchsia target triples

    Because the old spelling is widely used, some projects may need time to
    migrate their uses to the new triple spelling. The old spelling may
    eventually be removed altogether.
    David Koloski committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    42aa075 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a51a592 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5132e13 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7c2dff0 View commit details
    Browse the repository at this point in the history
  7. review comment

    compiler-errors committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    1d66a67 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1c766d0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f769d34 View commit details
    Browse the repository at this point in the history
  10. Add issue number to FIXMEs

    tmandry authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    9c23629 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#105034 - HintringerFabian:improve_iterator_…

    …flatten_doc, r=cuviper
    
    Add example for iterator_flatten
    
    Adds an Example to iterator_flatten
    Fixes rust-lang#82687
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    4adf99b View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#105670 - Xiretza:rustc_parse-diagnostics-4,…

    … r=davidtwco
    
    rustc_parse: diagnostics migration, v4
    
    This is all the `rustc_parse` migrations I have in store right now; unfortunately life is pretty busy right now, so I won't be able to do much more in the near future.
    
    cc rust-lang#100717
    
    r? `@davidtwco`
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    eb22a06 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#105708 - tomerze:enable-atomic-cas-bpf, r=n…

    …agisa
    
    Enable atomic cas for bpf targets
    
    It seems like LLVM now supports it.
    
    https://reviews.llvm.org/D72184 - the PR in LLVM
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    03dc5c9 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#106175 - compiler-errors:bad-import-sugg, r…

    …=oli-obk
    
    Fix bad import suggestion with nested `use` tree
    
    Fixes rust-lang#105566
    Fixes rust-lang#105373
    
    Ideally, we'd find some way to turn these into structured suggestions -- perhaps on a separate line as a different `use` statement, but I have no idea how to access the span for the whole `use` from this point in the import resolution code.
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    91d750d View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#106204 - compiler-errors:no-take-opaques-in…

    …-compare, r=oli-obk
    
    No need to take opaques in `check_type_bounds`
    
    `InferCtxt` already has its defining use anchor set to err
    
    r? `@oli-obk`
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    1e81ca3 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#106309 - compiler-errors:prefer-non-err-can…

    …didates, r=oli-obk
    
    Prefer non-`[type error]` candidates during selection
    
    Fixes rust-lang#102130
    Fixes rust-lang#106351
    
    r? types
    
    note: Alternatively we could filter out error where-clauses during param-env construction? But we still need to filter out impls with errors during `match_impl`, I think.
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    500261f View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#106608 - compiler-errors:missing-generics-v…

    …erbose, r=estebank
    
    Render missing generics suggestion verbosely
    
    It's a bit easier to read like this, especially ones that are appending new generics onto an existing list, like ": `, T`" which render somewhat poorly inline.
    
    Also don't suggest `dyn` as a type parameter to add, even if technically that's valid in edition 2015.
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    32aeb3f View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#106636 - djkoloski:accept_old_fuchsia_tripl…

    …e, r=tmandry
    
    Accept old spelling of Fuchsia target triples
    
    The old spelling of Fuchsia target triples was changed in rust-lang#106429 to add a proper vendor. Because the old spelling is widely used, some projects may need time to migrate their uses to the new triple spelling. The old spelling may eventually be removed altogether.
    
    r? `@tmandry`
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    3f9a928 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#106640 - lcnr:update-test, r=jackh726

    update test for inductive canonical cycles
    
    the previous test always resulted in a cycle 😅 cc rust-lang/chalk#787.
    
    I checked with rust-lang#102713 and this is the only test which fails with that PR.
    
    r? `@jackh726`
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    b13c1eb View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#106647 - notriddle:notriddle/a, r=Guillaume…

    …Gomez
    
    rustdoc: merge common CSS for `a`
    compiler-errors authored Jan 9, 2023
    Configuration menu
    Copy the full SHA
    312ad66 View commit details
    Browse the repository at this point in the history