summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/no-coverage.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 18:31:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 18:31:44 +0000
commitc23a457e72abe608715ac76f076f47dc42af07a5 (patch)
tree2772049aaf84b5c9d0ed12ec8d86812f7a7904b6 /tests/ui/lint/no-coverage.stderr
parentReleasing progress-linux version 1.73.0+dfsg1-1~progress7.99u1. (diff)
downloadrustc-c23a457e72abe608715ac76f076f47dc42af07a5.tar.xz
rustc-c23a457e72abe608715ac76f076f47dc42af07a5.zip
Merging upstream version 1.74.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/lint/no-coverage.stderr')
-rw-r--r--tests/ui/lint/no-coverage.stderr72
1 files changed, 36 insertions, 36 deletions
diff --git a/tests/ui/lint/no-coverage.stderr b/tests/ui/lint/no-coverage.stderr
index 404efbeac..a87b0fb49 100644
--- a/tests/ui/lint/no-coverage.stderr
+++ b/tests/ui/lint/no-coverage.stderr
@@ -1,8 +1,8 @@
-warning: `#[no_coverage]` does not propagate into items and must be applied to the contained functions directly
+warning: `#[coverage]` does not propagate into items and must be applied to the contained functions directly
--> $DIR/no-coverage.rs:8:1
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> $DIR/no-coverage.rs:4:9
@@ -10,83 +10,83 @@ note: the lint level is defined here
LL | #![warn(unused_attributes)]
| ^^^^^^^^^^^^^^^^^
-warning: `#[no_coverage]` does not propagate into items and must be applied to the contained functions directly
+warning: `#[coverage]` does not propagate into items and must be applied to the contained functions directly
--> $DIR/no-coverage.rs:20:1
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
-warning: `#[no_coverage]` may only be applied to function definitions
+warning: `#[coverage]` may only be applied to function definitions
--> $DIR/no-coverage.rs:42:5
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
-warning: `#[no_coverage]` may only be applied to function definitions
+warning: `#[coverage]` may only be applied to function definitions
--> $DIR/no-coverage.rs:47:9
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
-warning: `#[no_coverage]` may only be applied to function definitions
+warning: `#[coverage]` may only be applied to function definitions
--> $DIR/no-coverage.rs:52:5
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
-error[E0788]: `#[no_coverage]` must be applied to coverable code
+error[E0788]: `#[coverage]` must be applied to coverable code
--> $DIR/no-coverage.rs:11:5
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
LL | const X: u32;
| ------------- not coverable code
-error[E0788]: `#[no_coverage]` must be applied to coverable code
+error[E0788]: `#[coverage]` must be applied to coverable code
--> $DIR/no-coverage.rs:14:5
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
LL | type T;
| ------- not coverable code
-error[E0788]: `#[no_coverage]` must be applied to coverable code
+error[E0788]: `#[coverage]` must be applied to coverable code
--> $DIR/no-coverage.rs:25:5
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
LL | type T = Self;
| -------------- not coverable code
-error[E0788]: `#[no_coverage]` must be applied to coverable code
+error[E0788]: `#[coverage]` must be applied to coverable code
--> $DIR/no-coverage.rs:28:5
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
LL | type U = impl Trait;
| -------------------- not coverable code
-error[E0788]: `#[no_coverage]` must be applied to coverable code
+error[E0788]: `#[coverage]` must be applied to coverable code
--> $DIR/no-coverage.rs:33:5
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
LL | static X: u32;
| -------------- not coverable code
-error[E0788]: `#[no_coverage]` must be applied to coverable code
+error[E0788]: `#[coverage]` must be applied to coverable code
--> $DIR/no-coverage.rs:36:5
|
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
+LL | #[coverage(off)]
+ | ^^^^^^^^^^^^^^^^
LL | type T;
| ------- not coverable code
-warning: `#[no_coverage]` does not propagate into items and must be applied to the contained functions directly
+warning: `#[coverage]` does not propagate into items and must be applied to the contained functions directly
--> $DIR/no-coverage.rs:5:1
|
-LL | #![no_coverage]
- | ^^^^^^^^^^^^^^^
+LL | #![coverage(off)]
+ | ^^^^^^^^^^^^^^^^^
error: unconstrained opaque type
--> $DIR/no-coverage.rs:29:14