summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/no-coverage.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
commit64d98f8ee037282c35007b64c2649055c56af1db (patch)
tree5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /src/test/ui/lint/no-coverage.stderr
parentAdding debian version 1.67.1+dfsg1-1. (diff)
downloadrustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz
rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/lint/no-coverage.stderr')
-rw-r--r--src/test/ui/lint/no-coverage.stderr101
1 files changed, 0 insertions, 101 deletions
diff --git a/src/test/ui/lint/no-coverage.stderr b/src/test/ui/lint/no-coverage.stderr
deleted file mode 100644
index 404efbeac..000000000
--- a/src/test/ui/lint/no-coverage.stderr
+++ /dev/null
@@ -1,101 +0,0 @@
-warning: `#[no_coverage]` does not propagate into items and must be applied to the contained functions directly
- --> $DIR/no-coverage.rs:8:1
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
- |
-note: the lint level is defined here
- --> $DIR/no-coverage.rs:4:9
- |
-LL | #![warn(unused_attributes)]
- | ^^^^^^^^^^^^^^^^^
-
-warning: `#[no_coverage]` does not propagate into items and must be applied to the contained functions directly
- --> $DIR/no-coverage.rs:20:1
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-
-warning: `#[no_coverage]` may only be applied to function definitions
- --> $DIR/no-coverage.rs:42:5
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-
-warning: `#[no_coverage]` may only be applied to function definitions
- --> $DIR/no-coverage.rs:47:9
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-
-warning: `#[no_coverage]` may only be applied to function definitions
- --> $DIR/no-coverage.rs:52:5
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-
-error[E0788]: `#[no_coverage]` must be applied to coverable code
- --> $DIR/no-coverage.rs:11:5
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-LL | const X: u32;
- | ------------- not coverable code
-
-error[E0788]: `#[no_coverage]` must be applied to coverable code
- --> $DIR/no-coverage.rs:14:5
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-LL | type T;
- | ------- not coverable code
-
-error[E0788]: `#[no_coverage]` must be applied to coverable code
- --> $DIR/no-coverage.rs:25:5
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-LL | type T = Self;
- | -------------- not coverable code
-
-error[E0788]: `#[no_coverage]` must be applied to coverable code
- --> $DIR/no-coverage.rs:28:5
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-LL | type U = impl Trait;
- | -------------------- not coverable code
-
-error[E0788]: `#[no_coverage]` must be applied to coverable code
- --> $DIR/no-coverage.rs:33:5
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-LL | static X: u32;
- | -------------- not coverable code
-
-error[E0788]: `#[no_coverage]` must be applied to coverable code
- --> $DIR/no-coverage.rs:36:5
- |
-LL | #[no_coverage]
- | ^^^^^^^^^^^^^^
-LL | type T;
- | ------- not coverable code
-
-warning: `#[no_coverage]` does not propagate into items and must be applied to the contained functions directly
- --> $DIR/no-coverage.rs:5:1
- |
-LL | #![no_coverage]
- | ^^^^^^^^^^^^^^^
-
-error: unconstrained opaque type
- --> $DIR/no-coverage.rs:29:14
- |
-LL | type U = impl Trait;
- | ^^^^^^^^^^
- |
- = note: `U` must be used in combination with a concrete type within the same impl
-
-error: aborting due to 7 previous errors; 6 warnings emitted
-
-For more information about this error, try `rustc --explain E0788`.