about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorXiretza <xiretza@xiretza.xyz>2024-04-09 20:45:53 +0000
committerXiretza <xiretza@xiretza.xyz>2024-04-22 16:28:20 +0000
commitbfacfe25103f5f453ad8ab6a4f470dc7b94e59c3 (patch)
tree7698fc58dca4b25498d39d098f1f65927efc0a7f /compiler/rustc_hir_analysis/src/structured_errors.rs
parentc649c6c2f8f7130fb53c452f79d036557b461c26 (diff)
downloadrust-bfacfe25103f5f453ad8ab6a4f470dc7b94e59c3.tar.gz
rust-bfacfe25103f5f453ad8ab6a4f470dc7b94e59c3.zip
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 #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_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions