about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-17 07:20:56 +0200
committerGitHub <noreply@github.com>2024-05-17 07:20:56 +0200
commite62688eb966952ae7ec4d049150bb84e657eb4ca (patch)
tree910f6431992124da71c6dec0b10c3701b8f783db /compiler/rustc_parse/src/errors.rs
parent8af67ba01a1b1d95ff375b645ef5a395d3249e09 (diff)
parent3289a9a60dfbccce41e4db989708f5807a24cbdb (diff)
downloadrust-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