rust/tests/ui/diagnostic_namespace/do_not_recommend/malformed-diagnostic-attributes-if-expression.stderr
Takayuki Maeda 61c9af20c7 avoid delayed-bug ICE for malformed diagnostic attrs
remove -Znext-solver from ui tests
2026-02-19 01:43:26 +09:00

10 lines
416 B
Text

warning: `#[diagnostic::do_not_recommend]` does not expect any arguments
--> $DIR/malformed-diagnostic-attributes-if-expression.rs:6:1
|
LL | #[diagnostic::do_not_recommend(if not_accepted)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(malformed_diagnostic_attributes)]` (part of `#[warn(unknown_or_malformed_diagnostic_attributes)]`) on by default
warning: 1 warning emitted