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 4 pull requests #64466

Merged
merged 11 commits into from
Sep 15, 2019
Merged

Rollup of 4 pull requests #64466

merged 11 commits into from
Sep 15, 2019

Commits on Aug 25, 2019

  1. Stabilise weak_ptr_eq

    Thomasdezeeuw committed Aug 25, 2019
    Configuration menu
    Copy the full SHA
    d86516d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    307804a View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2019

  1. Provide a span if main function is not present in crate

    Unfortunately, the diagnotic machinery does not cope well with an empty
    span which can happen if the crate is empty, in which case we merely set
    a spanless note.
    Mark-Simulacrum committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    b7f20d0 View commit details
    Browse the repository at this point in the history
  2. Ban non-extern rust intrinsics

    Intrinsics can only be defined by the compiler.
    Mark-Simulacrum committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    7b3adc2 View commit details
    Browse the repository at this point in the history
  3. feature_gate: Remove dead code from attribute checking

    Same checks are performed during name resolution, and all attributes go through name resolution now
    petrochenkov committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    966d96c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a01ba39 View commit details
    Browse the repository at this point in the history
  5. feature_gate: Eliminate check::Context

    Use `PostExpansionVisitor` directly instead
    petrochenkov committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    cb771fd View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#61797 - Thomasdezeeuw:stablise-weak_ptr_eq,…

    … r=RalfJung
    
    Stabilise weak_ptr_eq
    
    Implemented in rust-lang#55987.
    
    Closes rust-lang#55981.
    Centril committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    dee08ba View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#64290 - Mark-Simulacrum:span-no-main, r=est…

    …ebank
    
    Provide a span if main function is not present in crate
    
    Unfortunately, the diagnostic machinery does not cope well with an empty
    span which can happen if the crate is empty, in which case we merely set
    a spanless note.
    
    Tests are already updated for this change, so a dedicated test is not added.
    
    Resolves rust-lang#36561.
    Centril committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    d29df01 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#64406 - Mark-Simulacrum:error-unknown-intri…

    …nsic, r=Centril
    
    Ban non-extern rust intrinsics
    
    Intrinsics can only be defined by the compiler.
    
    Fixes rust-lang#36979
    Centril committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    5f9b9b2 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#64462 - petrochenkov:remattr, r=Centril

    feature_gate: Remove dead code from attribute checking
    
    rust-lang#63468 is merged, so all attributes go through name resolution now, so we can remove code that previously performed some checks for attributes not going through resolution.
    Centril committed Sep 14, 2019
    Configuration menu
    Copy the full SHA
    45e50e2 View commit details
    Browse the repository at this point in the history