mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
e62688eb96
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 `//`. ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |