Skip to content

Commit d991b1f

Browse files
committed
Correct broken test
1 parent 1bf4068 commit d991b1f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/test/debuginfo/issue-23477.rs renamed to src/test/run-pass/issue-23477.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
10-
11-
#![crate_type = "lib"]
12-
13-
extern crate core;
10+
// compiler-flags: -g
1411

1512
pub struct Dst {
1613
pub a: (),
@@ -22,3 +19,5 @@ pub unsafe fn borrow(bytes: &[u8]) -> &Dst {
2219
let dst: &Dst = std::mem::transmute((bytes.as_ptr(), bytes.len()));
2320
dst
2421
}
22+
23+
fn main() {}

0 commit comments

Comments
 (0)