summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2008-non-exhaustive/improper_ctypes/extern_crate_improper.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rfc-2008-non-exhaustive/improper_ctypes/extern_crate_improper.stderr')
-rw-r--r--tests/ui/rfc-2008-non-exhaustive/improper_ctypes/extern_crate_improper.stderr47
1 files changed, 0 insertions, 47 deletions
diff --git a/tests/ui/rfc-2008-non-exhaustive/improper_ctypes/extern_crate_improper.stderr b/tests/ui/rfc-2008-non-exhaustive/improper_ctypes/extern_crate_improper.stderr
deleted file mode 100644
index 43c8e1015..000000000
--- a/tests/ui/rfc-2008-non-exhaustive/improper_ctypes/extern_crate_improper.stderr
+++ /dev/null
@@ -1,47 +0,0 @@
-error: `extern` block uses type `NonExhaustiveEnum`, which is not FFI-safe
- --> $DIR/extern_crate_improper.rs:12:35
- |
-LL | pub fn non_exhaustive_enum(_: NonExhaustiveEnum);
- | ^^^^^^^^^^^^^^^^^ not FFI-safe
- |
- = note: this enum is non-exhaustive
-note: the lint level is defined here
- --> $DIR/extern_crate_improper.rs:2:9
- |
-LL | #![deny(improper_ctypes)]
- | ^^^^^^^^^^^^^^^
-
-error: `extern` block uses type `NormalStruct`, which is not FFI-safe
- --> $DIR/extern_crate_improper.rs:14:44
- |
-LL | pub fn non_exhaustive_normal_struct(_: NormalStruct);
- | ^^^^^^^^^^^^ not FFI-safe
- |
- = note: this struct is non-exhaustive
-
-error: `extern` block uses type `UnitStruct`, which is not FFI-safe
- --> $DIR/extern_crate_improper.rs:16:42
- |
-LL | pub fn non_exhaustive_unit_struct(_: UnitStruct);
- | ^^^^^^^^^^ not FFI-safe
- |
- = note: this struct is non-exhaustive
-
-error: `extern` block uses type `TupleStruct`, which is not FFI-safe
- --> $DIR/extern_crate_improper.rs:18:43
- |
-LL | pub fn non_exhaustive_tuple_struct(_: TupleStruct);
- | ^^^^^^^^^^^ not FFI-safe
- |
- = note: this struct is non-exhaustive
-
-error: `extern` block uses type `NonExhaustiveVariants`, which is not FFI-safe
- --> $DIR/extern_crate_improper.rs:20:38
- |
-LL | pub fn non_exhaustive_variant(_: NonExhaustiveVariants);
- | ^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
- |
- = note: this enum has non-exhaustive variants
-
-error: aborting due to 5 previous errors
-