Move some more tests to check-pass
This commit is contained in:
parent
7326e530f2
commit
8f0fa24d7b
@ -1,4 +1,4 @@
|
|||||||
// build-pass
|
// check-pass
|
||||||
|
|
||||||
#![feature(const_fn, rustc_attrs)]
|
#![feature(const_fn, rustc_attrs)]
|
||||||
|
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
// build-pass
|
// Regression test for #50356: Compiler panic when using repr(packed)
|
||||||
|
// associated constant in a match arm
|
||||||
|
|
||||||
|
// check-pass
|
||||||
#[derive(Copy, Clone, PartialEq, Eq)]
|
#[derive(Copy, Clone, PartialEq, Eq)]
|
||||||
#[repr(packed)]
|
#[repr(packed)]
|
||||||
pub struct Num(u64);
|
pub struct Num(u64);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// build-pass
|
// check-pass
|
||||||
// https://github.com/rust-lang/rust/issues/51300
|
// https://github.com/rust-lang/rust/issues/51300
|
||||||
|
|
||||||
#[derive(PartialEq, Eq, Clone, Copy)]
|
#[derive(PartialEq, Eq, Clone, Copy)]
|
||||||
|
Loading…
Reference in New Issue
Block a user