diff options
| author | bors <bors@rust-lang.org> | 2024-07-11 22:56:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-11 22:56:52 +0000 |
| commit | 5e311f933d844b6922256a0c0aa49b86159534f5 (patch) | |
| tree | b9624b52ca26a432be873fd65decdf104c594bc4 /compiler/rustc_resolve/src | |
| parent | 5315cbe15b79533f380bbb6685aa5480d5ff4ef5 (diff) | |
| parent | fa3ce50f0bdd7c7bed08e9f6d2ef2b21368aed4f (diff) | |
| download | rust-5e311f933d844b6922256a0c0aa49b86159534f5.tar.gz rust-5e311f933d844b6922256a0c0aa49b86159534f5.zip | |
Auto merge of #127614 - matthiaskrgr:rollup-8geziwi, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #124599 (Suggest borrowing on fn argument that is `impl AsRef`) - #127572 (Don't mark `DEBUG_EVENT` struct as `repr(packed)`) - #127588 (core: Limit remaining f16 doctests to x86_64 linux) - #127591 (Make sure that labels are defined after the primary span in diagnostics) - #127598 (Allows `#[diagnostic::do_not_recommend]` to supress trait impls in suggestions as well) - #127599 (Rename `lazy_cell_consume` to `lazy_cell_into_inner`) - #127601 (check is_ident before parse_ident) - #127605 (Remove extern "wasm" ABI) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/errors.rs b/compiler/rustc_resolve/src/errors.rs index 0620f3d709e..cd6503ae444 100644 --- a/compiler/rustc_resolve/src/errors.rs +++ b/compiler/rustc_resolve/src/errors.rs @@ -1089,8 +1089,8 @@ pub(crate) struct ToolWasAlreadyRegistered { #[derive(Diagnostic)] #[diag(resolve_tool_only_accepts_identifiers)] pub(crate) struct ToolOnlyAcceptsIdentifiers { - #[label] #[primary_span] + #[label] pub(crate) span: Span, pub(crate) tool: Symbol, } |
