mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
enable tests on next-solver for rust-lang/trait-system-refactor-initiative/237
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
//@ check-pass
|
||||
//@ revisions: current next
|
||||
//@ ignore-compare-mode-next-solver (explicit revisions)
|
||||
//@[next] compile-flags: -Znext-solver
|
||||
|
||||
#![feature(pattern_types, generic_pattern_types, pattern_type_macro)]
|
||||
#![expect(incomplete_features)]
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
|
||||
--> $DIR/transmute.rs:20:14
|
||||
--> $DIR/transmute.rs:23:14
|
||||
|
|
||||
LL | unsafe { std::mem::transmute(x) }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
@@ -8,7 +8,7 @@ LL | unsafe { std::mem::transmute(x) }
|
||||
= note: target type: `u32` (32 bits)
|
||||
|
||||
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
|
||||
--> $DIR/transmute.rs:28:14
|
||||
--> $DIR/transmute.rs:31:14
|
||||
|
|
||||
LL | unsafe { std::mem::transmute(x) }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
@@ -1,3 +1,6 @@
|
||||
//@ revisions: current next
|
||||
//@ ignore-compare-mode-next-solver (explicit revisions)
|
||||
//@[next] compile-flags: -Znext-solver
|
||||
#![feature(pattern_types, pattern_type_macro, generic_pattern_types)]
|
||||
#![expect(incomplete_features)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user