Add FIXME note to const generics test
Co-authored-by: lcnr <bastian_kauschke@hotmail.de>
This commit is contained in:
parent
94ed9455e8
commit
4641d2e6aa
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ struct Bug<const S: &'static str>;
|
|||
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])
|
||||
}
|
||||
}>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue