diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2018-11-13 17:23:26 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2018-11-24 11:36:32 +0100 |
| commit | 87bd5d13d8a175a0be82fe2b1db5588036c4bdb6 (patch) | |
| tree | eb1b45e64fdbdb2444d94431bea6347f748bdcf3 /src/test | |
| parent | ef332959dc42f25da567ae9a345ad395a19234a1 (diff) | |
| download | rust-87bd5d13d8a175a0be82fe2b1db5588036c4bdb6.tar.gz rust-87bd5d13d8a175a0be82fe2b1db5588036c4bdb6.zip | |
Remove stderr file, because the test passes now
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/consts/int_ptr_for_zst_slices.stderr | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/consts/int_ptr_for_zst_slices.stderr b/src/test/ui/consts/int_ptr_for_zst_slices.stderr deleted file mode 100644 index 437e6952e74..00000000000 --- a/src/test/ui/consts/int_ptr_for_zst_slices.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error[E0080]: it is undefined behavior to use this value - --> $DIR/int_ptr_for_zst_slices.rs:3:1 - | -LL | const FOO: &str = unsafe { &*(1_usize as *const [u8; 0] as *const [u8] as *const str) }; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type validation failed: encountered uninitialized or non-UTF-8 data in str at .<deref> - | - = note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rust compiler repository if you believe it should not be considered undefined behavior - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0080`. |
