diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-20 23:05:38 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-21 00:41:17 +0000 |
| commit | 0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26 (patch) | |
| tree | 40adab0be475b174d0fa8d3041089a10f5b1b440 /tests/ui/conditional-compilation | |
| parent | 28b83ee59698ae069f5355b8e03f976406f410f5 (diff) | |
| download | rust-0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26.tar.gz rust-0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26.zip | |
More sophisticated span trimming
Diffstat (limited to 'tests/ui/conditional-compilation')
| -rw-r--r-- | tests/ui/conditional-compilation/cfg-attr-parse.stderr | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/ui/conditional-compilation/cfg-attr-parse.stderr b/tests/ui/conditional-compilation/cfg-attr-parse.stderr index 1605761e591..76f199caace 100644 --- a/tests/ui/conditional-compilation/cfg-attr-parse.stderr +++ b/tests/ui/conditional-compilation/cfg-attr-parse.stderr @@ -7,9 +7,8 @@ LL | #[cfg_attr()] = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute> help: missing condition and attribute | -LL - #[cfg_attr()] -LL + #[cfg_attr(condition, attribute, other_attribute, ...)] - | +LL | #[cfg_attr(condition, attribute, other_attribute, ...)] + | ++++++++++++++++++++++++++++++++++++++++++ error: expected `,`, found end of `cfg_attr` input --> $DIR/cfg-attr-parse.rs:8:17 |
