diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-05-17 07:20:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-17 07:20:56 +0200 |
| commit | e62688eb966952ae7ec4d049150bb84e657eb4ca (patch) | |
| tree | 910f6431992124da71c6dec0b10c3701b8f783db /compiler/rustc_parse/src/errors.rs | |
| parent | 8af67ba01a1b1d95ff375b645ef5a395d3249e09 (diff) | |
| parent | 3289a9a60dfbccce41e4db989708f5807a24cbdb (diff) | |
| download | rust-e62688eb966952ae7ec4d049150bb84e657eb4ca.tar.gz rust-e62688eb966952ae7ec4d049150bb84e657eb4ca.zip | |
Rollup merge of #123694 - Xiretza:expand-diagnostics, r=compiler-errors
expand: fix minor diagnostics bug The error mentions `///`, when it's actually `//!`: ``` error[E0658]: attributes on expressions are experimental --> test.rs:4:9 | 4 | //! wah | ^^^^^^^ | = note: see issue https://github.com/rust-lang/rust/issues/15701 <https://github.com/rust-lang/rust/issues/15701> for more information = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable = help: `///` is for documentation comments. For a plain comment, use `//`. ```
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
