mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03:00
Add FIXME note to const generics test
Co-authored-by: lcnr <bastian_kauschke@hotmail.de>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
fn main() {
|
||||
let b: Bug::<{
|
||||
unsafe {
|
||||
// FIXME(const_generics): Decide on how to deal with invalid values as const params.
|
||||
std::mem::transmute::<&[u8], &str>(&[0xC0, 0xC1, 0xF5])
|
||||
}
|
||||
}>;
|
||||
|
||||
Reference in New Issue
Block a user