summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/typeck-default-trait-impl-negation-sync.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui/typeck/typeck-default-trait-impl-negation-sync.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/typeck/typeck-default-trait-impl-negation-sync.stderr')
-rw-r--r--src/test/ui/typeck/typeck-default-trait-impl-negation-sync.stderr52
1 files changed, 0 insertions, 52 deletions
diff --git a/src/test/ui/typeck/typeck-default-trait-impl-negation-sync.stderr b/src/test/ui/typeck/typeck-default-trait-impl-negation-sync.stderr
deleted file mode 100644
index b9fca1a1b..000000000
--- a/src/test/ui/typeck/typeck-default-trait-impl-negation-sync.stderr
+++ /dev/null
@@ -1,52 +0,0 @@
-error[E0277]: `MyNotSync` cannot be shared between threads safely
- --> $DIR/typeck-default-trait-impl-negation-sync.rs:33:15
- |
-LL | is_sync::<MyNotSync>();
- | ^^^^^^^^^ `MyNotSync` cannot be shared between threads safely
- |
- = help: the trait `Sync` is not implemented for `MyNotSync`
-note: required by a bound in `is_sync`
- --> $DIR/typeck-default-trait-impl-negation-sync.rs:29:15
- |
-LL | fn is_sync<T: Sync>() {}
- | ^^^^ required by this bound in `is_sync`
-
-error[E0277]: `UnsafeCell<u8>` cannot be shared between threads safely
- --> $DIR/typeck-default-trait-impl-negation-sync.rs:36:15
- |
-LL | is_sync::<MyTypeWUnsafe>();
- | ^^^^^^^^^^^^^ `UnsafeCell<u8>` cannot be shared between threads safely
- |
- = help: within `MyTypeWUnsafe`, the trait `Sync` is not implemented for `UnsafeCell<u8>`
-note: required because it appears within the type `MyTypeWUnsafe`
- --> $DIR/typeck-default-trait-impl-negation-sync.rs:21:8
- |
-LL | struct MyTypeWUnsafe {
- | ^^^^^^^^^^^^^
-note: required by a bound in `is_sync`
- --> $DIR/typeck-default-trait-impl-negation-sync.rs:29:15
- |
-LL | fn is_sync<T: Sync>() {}
- | ^^^^ required by this bound in `is_sync`
-
-error[E0277]: `Managed` cannot be shared between threads safely
- --> $DIR/typeck-default-trait-impl-negation-sync.rs:39:15
- |
-LL | is_sync::<MyTypeManaged>();
- | ^^^^^^^^^^^^^ `Managed` cannot be shared between threads safely
- |
- = help: within `MyTypeManaged`, the trait `Sync` is not implemented for `Managed`
-note: required because it appears within the type `MyTypeManaged`
- --> $DIR/typeck-default-trait-impl-negation-sync.rs:25:8
- |
-LL | struct MyTypeManaged {
- | ^^^^^^^^^^^^^
-note: required by a bound in `is_sync`
- --> $DIR/typeck-default-trait-impl-negation-sync.rs:29:15
- |
-LL | fn is_sync<T: Sync>() {}
- | ^^^^ required by this bound in `is_sync`
-
-error: aborting due to 3 previous errors
-
-For more information about this error, try `rustc --explain E0277`.