Skip to content

Commit 9181351

Browse files
committed
Add issue links at the top
1 parent efbc155 commit 9181351

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

tests/ui/intrinsics/transmute-phantomdata-generic-unequal-size.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//! regression test for <https://github.com/rust-lang/rust/issues/32377>
12
//@ normalize-stderr: "\d+ bits" -> "N bits"
23

34
use std::mem;

tests/ui/intrinsics/transmute-phantomdata-generic-unequal-size.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
2-
--> $DIR/issue-32377.rs:15:14
2+
--> $DIR/transmute-phantomdata-generic-unequal-size.rs:16:14
33
|
44
LL | unsafe { mem::transmute(x) }
55
| ^^^^^^^^^^^^^^

tests/ui/transmute/transmute-bool-u8.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
//@ run-pass
1+
//! regression test for <https://github.com/rust-lang/rust/issues/25746>
2+
//@ build-pass
23
#![allow(unnecessary_transmutes)]
34
use std::mem::transmute;
45

0 commit comments

Comments
 (0)