diff options
| author | bors <bors@rust-lang.org> | 2025-03-02 01:39:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-02 01:39:49 +0000 |
| commit | 1c3b035542775e9a5decc93167d351b062942d32 (patch) | |
| tree | db204d5c4489aaa968238972bb539f5ec4a1ae0f /compiler/rustc_parse/src/errors.rs | |
| parent | 351686bcfd18dd0f652aba69a806bfa68c57234d (diff) | |
| parent | 5bdde895445a74c4857e34beb222435045f57888 (diff) | |
| download | rust-1c3b035542775e9a5decc93167d351b062942d32.tar.gz rust-1c3b035542775e9a5decc93167d351b062942d32.zip | |
Auto merge of #137855 - matthiaskrgr:rollup-uh7f3fi, r=matthiaskrgr
Rollup of 10 pull requests Successful merges: - #137804 (rename BackendRepr::Vector → SimdVector) - #137807 (Fully qualify `Result` in generated doctest code) - #137809 (Use correct error message casing for `io::const_error`s) - #137818 (tests: adapt for LLVM 21 changes) - #137822 (Update query normalizer docs to not position it as the greatest pioneer in the space of normalization) - #137824 (Tweak invalid RTN errors) - #137828 (Fix inaccurate `std::intrinsics::simd` documentation) - #137830 (Fix link failure on AVR (incompatible ISA error)) - #137837 (Update `const_conditions` and `explicit_implied_const_bounds` docs) - #137840 (triagebot: only ping me for constck) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
| -rw-r--r-- | compiler/rustc_parse/src/errors.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs index fc7a3323fc1..8d2fd595942 100644 --- a/compiler/rustc_parse/src/errors.rs +++ b/compiler/rustc_parse/src/errors.rs @@ -2922,8 +2922,9 @@ pub(crate) struct AddBoxNew { #[diag(parse_bad_return_type_notation_output)] pub(crate) struct BadReturnTypeNotationOutput { #[primary_span] - #[suggestion(code = "", applicability = "maybe-incorrect", style = "verbose")] pub span: Span, + #[suggestion(code = "", applicability = "maybe-incorrect", style = "verbose")] + pub suggestion: Span, } #[derive(Diagnostic)] |
