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 7 pull requests #92064

Merged
merged 15 commits into from
Dec 18, 2021
Merged

Rollup of 7 pull requests #92064

merged 15 commits into from
Dec 18, 2021

Commits on Dec 14, 2021

  1. Remove in_band_lifetimes from rustc_query_impl

    See rust-lang#91867 for more information.
    LegionMammal978 committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    77a0c65 View commit details
    Browse the repository at this point in the history
  2. Remove in_band_lifetimes from rustc_privacy

    See rust-lang#91867 for more information.
    LegionMammal978 committed Dec 14, 2021
    Configuration menu
    Copy the full SHA
    29c56fe View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Configuration menu
    Copy the full SHA
    ba824ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    080b926 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. Fix typo in "new region bound" suggestion

    The lifetime name shoud always appear in text surrounded by `.
    estebank committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    0b8bbac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a995462 View commit details
    Browse the repository at this point in the history
  3. pass -Wl,-z,origin to set DF_ORIGIN when using rpath

    DF_ORIGIN flag signifies that the object being loaded may make reference to the $ORIGIN substitution string.
    
    Some implementations are just ignoring DF_ORIGIN and do substitution for $ORIGIN if present (whatever DF_ORIGIN pr
    
    Set the flag inconditionally if rpath is wanted.
    semarie committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    c3da28e View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2021

  1. hir: Do not introduce dummy type names for extern blocks in def paths

    Use a separate nameless `DefPathData` variant instead
    petrochenkov committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    0d61852 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#91858 - semarie:runpath, r=petrochenkov

    pass -Wl,-z,origin to set DF_ORIGIN when using rpath
    
    DF_ORIGIN flag signifies that the object being loaded may make reference to the $ORIGIN substitution string.
    
    Some implementations are just ignoring [DF_ORIGIN](http://www.sco.com/developers/gabi/latest/ch5.dynamic.html#df_flags) and do [substitution](http://www.sco.com/developers/gabi/latest/ch5.dynamic.html#substitution) for $ORIGIN if present (whatever DF_ORIGIN presence or not) like glibc. But some others mandate the present of DF_ORIGIN for the substitution (like OpenBSD).
    
    Set the flag inconditionally if rpath is wanted.
    
    One possible fallout is if the linker rejects `-z origin` option.
    matthiaskrgr committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    069ffec View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#91923 - LegionMammal978:less-inband-query_i…

    …mpl, r=michaelwoerister
    
    Remove `in_band_lifetimes` from `rustc_query_impl`
    
    See rust-lang#91867 for more information.
    matthiaskrgr committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    df42891 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#91925 - LegionMammal978:less-inband-privacy…

    …, r=nagisa
    
    Remove `in_band_lifetimes` from `rustc_privacy`
    
    See rust-lang#91867 for more information.
    matthiaskrgr committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    44ff0f7 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#91977 - GuillaumeGomez:unify-search-code, r…

    …=jsha
    
    Clean up search code and unify function returned values
    
    This PR is a cleanup: there is no changes in the search results or in the UI.
    
    Depending if it was "literal search" or not, it was either returning booleans or integers. It's pretty bad so instead it all returns integers.
    
    Another thing I did was to move the add and checks into a `addIntoResults` function to simplify things.
    
    Last thing: I removed a loop in the `sortResults` function and moved its code directly into the first loop.
    
    All these changes are done to make rust-lang#90630 much smaller.
    
    r? `@jsha`
    matthiaskrgr committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    8bb238b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#92018 - estebank:missing-ticks, r=oli-obk

    Fix typo in "new region bound" suggestion
    
    The lifetime name shoud always appear in text surrounded by `.
    matthiaskrgr committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    fedb525 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#92022 - woodenarrow:br_expected_bool, r=est…

    …ebank
    
    Eliminate duplicate codes of expected_found_bool
    
    The function expected_found_bool is the same as ExpectedFound::new. So use ExpectedFound::new to replace expected_found_bool to eliminate duplicate codes.
    
    ![image](https://user-images.githubusercontent.com/95843988/146486722-c910eccd-a36c-4dc5-8b36-214aab058e38.png)
    matthiaskrgr committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    a391d54 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#92032 - petrochenkov:extblockpath, r=oli-obk

    hir: Do not introduce dummy type names for `extern` blocks in def paths
    
    Use a separate nameless `DefPathData` variant instead.
    
    Extracted from rust-lang#91795.
    matthiaskrgr committed Dec 18, 2021
    Configuration menu
    Copy the full SHA
    5e8f934 View commit details
    Browse the repository at this point in the history