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

Merged
merged 19 commits into from
Aug 4, 2022
Merged

Rollup of 6 pull requests #100120

merged 19 commits into from
Aug 4, 2022

Commits on Jul 26, 2022

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

Commits on Jul 29, 2022

  1. Recover from c++ style enum struct

    new error message: `enum` and `struct` are mutually exclusive
    new suggestion: replace `enum struct` with `enum`
    obeis committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    254b89d View commit details
    Browse the repository at this point in the history
  2. Add ui test for rust-lang#99625

    obeis committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    0ad06f1 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

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

Commits on Aug 2, 2022

  1. Configuration menu
    Copy the full SHA
    f74d06c View commit details
    Browse the repository at this point in the history
  2. fix rustdoc regression

    aliemjay committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    28f24eb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6b37a79 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c643007 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e8abe7 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    16a3601 View commit details
    Browse the repository at this point in the history
  2. Add items to DocAliasBadLocation check error match arm

    - Added `Impl`, `Closure`, ForeignMod` targets
    - `Target::name` changed for `Target::Impl`
    - Error output for `Target::ForeignMod` changed to "foreign module"
    hdelc committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    2be0094 View commit details
    Browse the repository at this point in the history
  3. cosmetic changes

    aliemjay committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    78adc01 View commit details
    Browse the repository at this point in the history
  4. Add support for link-flavor rust-lld for iOS, tvOS and watchOS

    This adds support for rust-lld for Apple *OS targets.
    
    This was tested against targets "aarch64-apple-ios" and "aarch64-apple-ios-sim".
    
    For targets "armv7-apple-ios" and "armv7s-apple-ios", it doesn't link because of
    "symbols.o" not being generated with the correct CPU subtype (changes in
    the "object" crate needs to be done to support it).
    marysaka committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    78bbe57 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#98771 - Thog:rust-lld-apple-target, r=petro…

    …chenkov
    
    Add support for link-flavor rust-lld for iOS, tvOS and watchOS
    
    This adds support for rust-lld for Apple *OS targets.
    
    This was tested against targets ``aarch64-apple-ios`` and ``aarch64-apple-ios-sim`` with [a simple test program](https://github.com/Thog/rust-lld-apple-target_test).
    
    It currently doesn't work with targets ``armv7-apple-ios`` and ``armv7s-apple-ios`` because of ``symbols.o`` not being generated with the correct CPU subtype. This will require changes in the ``object`` crate to expose an API.
    
    As ``ld64.lld`` requires ``-platform_version`` with the minimal version supported and an sdk version, I made ``rustc_target::apple_base`` public to get access to ``*os_deployment_target``  helper functions and also added ``tvos_deployment_target`` as it was missing.
    matthiaskrgr authored Aug 3, 2022
    Configuration menu
    Copy the full SHA
    7b0360e View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#98835 - aliemjay:relate_closure_substs, r=n…

    …ikomatsakis
    
    relate `closure_substs.parent_substs()` to parent fn in NLL
    
    Fixes rust-lang#98589
    
    The discrepancy between early- and late-bound lifetimes is because we map early-bound lifetimes into those found in the `closure_substs` while late-bound lifetimes are mapped into liberated free regions:
    https://github.com/rust-lang/rust/blob/5f98537eb7b5f42c246a52c550813c3cff336069/compiler/rustc_borrowck/src/universal_regions.rs#L255-L261
    
    r? `@rust-lang/types`
    matthiaskrgr authored Aug 3, 2022
    Configuration menu
    Copy the full SHA
    88e9417 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#99746 - compiler-errors:more-trait-engine, …

    …r=jackh726
    
    Use `TraitEngine` in more places that don't specifically need `FulfillmentContext::new_in_snapshot`
    
    Not sure if this change is worthwhile, but couldn't hurt re: chalkification
    
    r? types
    matthiaskrgr authored Aug 3, 2022
    Configuration menu
    Copy the full SHA
    0de7f75 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#99786 - obeis:issue-99625, r=compiler-errors

    Recover from C++ style `enum struct`
    
    Closes rust-lang#99625
    matthiaskrgr authored Aug 3, 2022
    Configuration menu
    Copy the full SHA
    9c18fdc View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#99795 - compiler-errors:delay-specializatio…

    …n-normalize-error, r=spastorino
    
    Delay a bug when failed to normalize trait ref during specialization
    
    The error messages still kinda suck here but they don't ICE anymore...
    
    Fixes rust-lang#45814
    Fixes rust-lang#43037
    
    r? types
    matthiaskrgr authored Aug 3, 2022
    Configuration menu
    Copy the full SHA
    02fcec2 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#100029 - hdelc:master, r=cjgillot

    Prevent ICE for `doc_alias` on match arm, statement, expression
    
    Fixes rust-lang#99777.
    
    This is a pretty minimal fix that should be safe, since rustdoc doesn't generate documentation for match arms, statements, or expressions. I mentioned in the linked issue that the `doc_alias` target checking should probably be improved to avoid future ICEs, but as a new contributor, I'm not confident enough with the HIR types to make a larger change.
    matthiaskrgr authored Aug 3, 2022
    Configuration menu
    Copy the full SHA
    f8e6617 View commit details
    Browse the repository at this point in the history