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

Cherry-pick some downstream commits #13459

Closed
wants to merge 4 commits into from

Commits on Oct 22, 2022

  1. Auto merge of #100210 - mystor:proc_macro_diag_struct, r=eddyb

    proc_macro/bridge: send diagnostics over the bridge as a struct
    
    This removes some RPC when creating and emitting diagnostics, and
    simplifies the bridge slightly.
    
    After this change, there are no remaining methods which take advantage
    of the support for `&mut` references to objects in the store as
    arguments, meaning that support for them could technically be removed if
    we wanted. The only remaining uses of immutable references into the
    store are `TokenStream` and `SourceFile`.
    
    r? `@eddyb`
    bors authored and lnicola committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    eb78405 View commit details
    Browse the repository at this point in the history
  2. rustc_typeck to rustc_hir_analysis

    lcnr authored and lnicola committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    1ff85f8 View commit details
    Browse the repository at this point in the history
  3. Fix duplicate usage of a article.

    This fixes a typo first appearing in #94624
    in which test-macro diagnostic uses "a" article twice.
    
    Since I searched sources for " a a " sequences,
    I also fixed the same issue in a few source files where I found it.
    
    Signed-off-by: Petr Portnov <gh@progrm-jarvis.ru>
    JarvisCraft authored and lnicola committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    ef05009 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    40c87b4 View commit details
    Browse the repository at this point in the history