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 5 pull requests #94328

Closed
wants to merge 15 commits into from

Commits on Feb 20, 2022

  1. Configuration menu
    Copy the full SHA
    c00f635 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43dbd83 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. Configuration menu
    Copy the full SHA
    da896d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbe1c15 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d23477 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. Continue improvements on the --check-cfg implementation

    - Test the combinations of --check-cfg with partial values() and --cfg
    - Test that we detect unexpected value when none are expected
    Urgau committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    8d3de56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a556a2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c73a2f8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f047af2 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. update auto trait lint

    lcnr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    70018c1 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#93845 - compiler-errors:in-band-lifetimes, …

    …r=cjgillot
    
    Remove in band lifetimes
    
    As discussed in t-lang backlog bonanza, the `in_band_lifetimes` FCP closed in favor for the feature not being stabilized. This PR removes `#![feature(in_band_lifetimes)]` in its entirety.
    
    Let me know if this PR is too hasty, and if we should instead do something intermediate for deprecate the feature first.
    
    r? `@scottmcm` (or feel free to reassign, just saw your last comment on rust-lang#44524)
    Closes rust-lang#44524
    Manishearth authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    07abde9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#94175 - Urgau:check-cfg-improvements, r=pet…

    …rochenkov
    
    Improve `--check-cfg` implementation
    
    This pull-request is a mix of improvements regarding the `--check-cfg` implementation:
    
    - Simpler internal representation (usage of `Option` instead of separate bool)
    - Add --check-cfg to the unstable book (based on the RFC)
    - Improved diagnostics:
        * List possible values when the value is unexpected
        * Suggest if possible a name or value that is similar
    - Add more tests (well known names, mix of combinations, ...)
    
    r? `@petrochenkov`
    Manishearth authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    1d665f4 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#94242 - compiler-errors:fat-uninhabitable-p…

    …ointer, r=michaelwoerister
    
    properly handle fat pointers to uninhabitable types
    
    Calculate the pointee metadata size by using `tcx.struct_tail_erasing_lifetimes` instead of duplicating the logic in `fat_pointer_kind`. Open to alternatively suggestions on how to fix this.
    
    Fixes rust-lang#94149
    
    r? `@michaelwoerister` since you touched this code last, I think!
    Manishearth authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    2c639e6 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#94308 - tmiasko:normalize-main-ret-ty, r=ol…

    …i-obk
    
    Normalize main return type during mono item collection & codegen
    
    The issue can be observed with `-Zprint-mono-items=lazy` in:
    
    ```rust
    #![feature(termination_trait_lib)]
    fn main() -> impl std::process::Termination { }
    ```
    ```
    BEFORE: MONO_ITEM fn std::rt::lang_start::<impl std::process::Termination> `@@` t.93933fa2-cgu.2[External]
    AFTER:  MONO_ITEM fn std::rt::lang_start::<()> `@@` t.df56e625-cgu.1[External]
    ```
    Manishearth authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    b70d763 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#94315 - lcnr:auto-trait-lint-update, r=oli-obk

    update auto trait lint for `PhantomData`
    
    cc rust-lang#93367 (comment)
    Manishearth authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    2c801e8 View commit details
    Browse the repository at this point in the history