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 8 pull requests #90026

Closed
wants to merge 23 commits into from

Commits on Oct 13, 2021

  1. Deduplicate macro_rules! from module_exports when documenting them

    This can append if within the same module a `#[macro_export] macro_rules!`
    is declared but also a reexport of itself producing two export of the same
    macro in the same module. In that case we only want to document it once.
    Urgau committed Oct 13, 2021
    Configuration menu
    Copy the full SHA
    15c876d View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. Configuration menu
    Copy the full SHA
    e252274 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d6cfb7 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. Apply documentation suggestions from code review

    Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
    Urgau and GuillaumeGomez authored Oct 15, 2021
    Configuration menu
    Copy the full SHA
    55fad29 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e259cc4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db5b64a View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2021

  1. HermitCore's kernel itself doesn't support TLS

    HermitCore's kernel itself doesn't support TLS.
    Consequently, the entries in x86_64-unknown-none-hermitkernel should be removed.
    This commit should help to finalize rust-lang#89062.
    stlankes committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    7f34ced View commit details
    Browse the repository at this point in the history
  2. remove compiler warnings

    stlankes committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    2f4cbf0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d4cc877 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2021

  1. ⬆️ rust-analyzer

    lnicola committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    72ca6cd View commit details
    Browse the repository at this point in the history
  2. add test for issue 84957

    cameron1024 committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    f8b2f91 View commit details
    Browse the repository at this point in the history
  3. RustWrapper: adapt for an LLVM API change

    No functional changes intended.
    
    The LLVM commit
    llvm/llvm-project@89b5706
    moved TargetRegistry.(h|cpp) from Support to MC.
    This adapts RustWrapper accordingly.
    krasimirgg committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    e3c3f4a View commit details
    Browse the repository at this point in the history
  4. Revert "Rollup merge of rust-lang#86011 - tlyu:correct-sized-bound-sp…

    …ans, r=estebank"
    
    This reverts commit 36a1076, reversing
    changes made to e1e9319.
    JohnTitor committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    e2453dc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    101a81b View commit details
    Browse the repository at this point in the history
  6. Make all proc-macro back-compat lints deny-by-default

    The affected crates have had plenty of time to update.
    By keeping these as lints rather than making them hard errors,
    we ensure that downstream crates will still be able to compile,
    even if they transitive depend on broken versions of the affected
    crates.
    
    This should hopefully discourage anyone from writing any
    new code which relies on the backwards-compatibility behavior.
    Aaron1011 committed Oct 18, 2021
    Configuration menu
    Copy the full SHA
    02e4d0b View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#88041 - Aaron1011:deny-proc-macro-hack, r=w…

    …esleywiser
    
    Make all proc-macro back-compat lints deny-by-default
    
    The affected crates have had plenty of time to update.
    By keeping these as lints rather than making them hard errors,
    we ensure that downstream crates will still be able to compile,
    even if they transitive depend on broken versions of the affected
    crates.
    
    This should hopefully discourage anyone from writing any
    new code which relies on the backwards-compatibility behavior.
    matthiaskrgr authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    bfa3945 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#89766 - krasimirgg:llvm-14-targetregistrty,…

    … r=nagisa
    
    RustWrapper: adapt for an LLVM API change
    
    No functional changes intended.
    
    The LLVM commit
    llvm/llvm-project@89b5706
    moved TargetRegistry.(h|cpp) from Support to MC.
    This adapts RustWrapper accordingly.
    matthiaskrgr authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    e830c7f View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#89867 - Urgau:fix-double-definition, r=Guil…

    …laumeGomez
    
    Fix macro_rules! duplication when reexported in the same module
    
    This can append if within the same module a `#[macro_export] macro_rules!`
    is declared but also a reexport of itself producing two export of the same
    macro in the same module. In that case we only want to document it once.
    
    Before:
    ```
    Module {
        is_crate: true,
        items: [
            Id("0:4"),   // pub use crate::repro as repro2;
            Id("0:3"),   // macro_rules! repro
            Id("0:3"),   // duplicate, same as above
        ],
    }
    ```
    
    After:
    ```
    Module {
        is_crate: true,
        items: [
            Id("0:4"),   // pub use crate::repro as repro2;
            Id("0:3"),   // macro_rules! repro
        ],
    }
    ```
    
    Fixes rust-lang#89852
    matthiaskrgr authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    d3a84d4 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#89941 - hermitcore:kernel, r=joshtriplett

    removing TLS support in x86_64-unknown-none-hermitkernel
    
    HermitCore's kernel itself doesn't support TLS. Consequently, the entries in x86_64-unknown-none-hermitkernel should be removed. This commit should help to finalize rust-lang#89062.
    matthiaskrgr authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    3f14625 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#89956 - JohnTitor:suggest-case-insensitive-…

    …match-names, r=estebank
    
    Suggest a case insensitive match name regardless of levenshtein distance
    
    Fixes rust-lang#86170
    
    Currently, `find_best_match_for_name` only returns a case insensitive match name depending on a Levenshtein distance. It's a bit unfortunate that that hides some suggestions for typos like `Bar` -> `BAR`. That idea is from rust-lang#46347 (comment), but I think it still makes some sense to show a candidate when we find a case insensitive match name as it's more like a typo.
    Skipped the `candidate != lookup` check because the current (i.e, `levenshtein_match`) returns the exact same `Symbol` anyway but it doesn't seem to confuse anything on UI tests.
    
    r? `@estebank`
    matthiaskrgr authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    a284d74 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#89997 - cameron1024:const-str-as-bytes-ice,…

    … r=JohnTitor
    
    Add test for issue rust-lang#84957 - `str.as_bytes()` in a `const` expression
    
    Hi, this PR adds a test for issue rust-lang#84957 . I'm quite new to rustc so let me know if there's anything else that needs doing 😄
    
    Closes rust-lang#84957
    matthiaskrgr authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    b434eb6 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#90002 - lnicola:rust-analyzer-2021-10-18, r…

    …=lnicola
    
    ⬆️ rust-analyzer
    
    r? `@ghost`
    matthiaskrgr authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    bcb5127 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#90025 - JohnTitor:revert-86011, r=estebank

    Revert rust-lang#86011 to fix an incorrect bound check
    
    This reverts commit 36a1076, reversing
    changes made to e1e9319.
    
    Fixes rust-lang#89935
    r? `@estebank`
    matthiaskrgr authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    eccaca0 View commit details
    Browse the repository at this point in the history