about summary refs log tree commit diff
path: root/tests/ui/coverage-attr
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-02-21 00:29:56 +0000
committerMichael Goulet <michael@errs.io>2025-02-21 00:54:01 +0000
commit160905b6253f42967ed4aef4b98002944c7df24c (patch)
treef9b1d1c27a5beb012e272ecfdecfda62f8419a7b /tests/ui/coverage-attr
parent0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26 (diff)
downloadrust-160905b6253f42967ed4aef4b98002944c7df24c.tar.gz
rust-160905b6253f42967ed4aef4b98002944c7df24c.zip
Trim suggestion part before generating highlights
Diffstat (limited to 'tests/ui/coverage-attr')
-rw-r--r--tests/ui/coverage-attr/bad-attr-ice.feat.stderr4
-rw-r--r--tests/ui/coverage-attr/bad-attr-ice.nofeat.stderr4
-rw-r--r--tests/ui/coverage-attr/word-only.stderr48
3 files changed, 28 insertions, 28 deletions
diff --git a/tests/ui/coverage-attr/bad-attr-ice.feat.stderr b/tests/ui/coverage-attr/bad-attr-ice.feat.stderr
index 50e1c39d4f8..dc84394fe3c 100644
--- a/tests/ui/coverage-attr/bad-attr-ice.feat.stderr
+++ b/tests/ui/coverage-attr/bad-attr-ice.feat.stderr
@@ -7,9 +7,9 @@ LL | #[coverage]
 help: the following are the possible correct uses
    |
 LL | #[coverage(off)]
-   |
+   |           +++++
 LL | #[coverage(on)]
-   |
+   |           ++++
 
 error: aborting due to 1 previous error
 
diff --git a/tests/ui/coverage-attr/bad-attr-ice.nofeat.stderr b/tests/ui/coverage-attr/bad-attr-ice.nofeat.stderr
index e8bdd99c9b9..49b8974bfdf 100644
--- a/tests/ui/coverage-attr/bad-attr-ice.nofeat.stderr
+++ b/tests/ui/coverage-attr/bad-attr-ice.nofeat.stderr
@@ -7,9 +7,9 @@ LL | #[coverage]
 help: the following are the possible correct uses
    |
 LL | #[coverage(off)]
-   |
+   |           +++++
 LL | #[coverage(on)]
-   |
+   |           ++++
 
 error[E0658]: the `#[coverage]` attribute is an experimental feature
   --> $DIR/bad-attr-ice.rs:11:1
diff --git a/tests/ui/coverage-attr/word-only.stderr b/tests/ui/coverage-attr/word-only.stderr
index bad50b0c961..612301885dc 100644
--- a/tests/ui/coverage-attr/word-only.stderr
+++ b/tests/ui/coverage-attr/word-only.stderr
@@ -7,9 +7,9 @@ LL | #[coverage]
 help: the following are the possible correct uses
    |
 LL | #[coverage(off)]
-   |
+   |           +++++
 LL | #[coverage(on)]
-   |
+   |           ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:17:5
@@ -20,9 +20,9 @@ LL |     #![coverage]
 help: the following are the possible correct uses
    |
 LL |     #![coverage(off)]
-   |
+   |                +++++
 LL |     #![coverage(on)]
-   |
+   |                ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:21:1
@@ -33,9 +33,9 @@ LL | #[coverage]
 help: the following are the possible correct uses
    |
 LL | #[coverage(off)]
-   |
+   |           +++++
 LL | #[coverage(on)]
-   |
+   |           ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:29:5
@@ -46,9 +46,9 @@ LL |     #[coverage]
 help: the following are the possible correct uses
    |
 LL |     #[coverage(off)]
-   |
+   |               +++++
 LL |     #[coverage(on)]
-   |
+   |               ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:26:1
@@ -59,9 +59,9 @@ LL | #[coverage]
 help: the following are the possible correct uses
    |
 LL | #[coverage(off)]
-   |
+   |           +++++
 LL | #[coverage(on)]
-   |
+   |           ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:39:5
@@ -72,9 +72,9 @@ LL |     #[coverage]
 help: the following are the possible correct uses
    |
 LL |     #[coverage(off)]
-   |
+   |               +++++
 LL |     #[coverage(on)]
-   |
+   |               ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:44:5
@@ -85,9 +85,9 @@ LL |     #[coverage]
 help: the following are the possible correct uses
    |
 LL |     #[coverage(off)]
-   |
+   |               +++++
 LL |     #[coverage(on)]
-   |
+   |               ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:35:1
@@ -98,9 +98,9 @@ LL | #[coverage]
 help: the following are the possible correct uses
    |
 LL | #[coverage(off)]
-   |
+   |           +++++
 LL | #[coverage(on)]
-   |
+   |           ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:53:5
@@ -111,9 +111,9 @@ LL |     #[coverage]
 help: the following are the possible correct uses
    |
 LL |     #[coverage(off)]
-   |
+   |               +++++
 LL |     #[coverage(on)]
-   |
+   |               ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:58:5
@@ -124,9 +124,9 @@ LL |     #[coverage]
 help: the following are the possible correct uses
    |
 LL |     #[coverage(off)]
-   |
+   |               +++++
 LL |     #[coverage(on)]
-   |
+   |               ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:50:1
@@ -137,9 +137,9 @@ LL | #[coverage]
 help: the following are the possible correct uses
    |
 LL | #[coverage(off)]
-   |
+   |           +++++
 LL | #[coverage(on)]
-   |
+   |           ++++
 
 error: malformed `coverage` attribute input
   --> $DIR/word-only.rs:64:1
@@ -150,9 +150,9 @@ LL | #[coverage]
 help: the following are the possible correct uses
    |
 LL | #[coverage(off)]
-   |
+   |           +++++
 LL | #[coverage(on)]
-   |
+   |           ++++
 
 error[E0788]: coverage attribute not allowed here
   --> $DIR/word-only.rs:21:1