Skip to content

Commit 4641d2e

Browse files
camelidlcnr
andauthored
Add FIXME note to const generics test
Co-authored-by: lcnr <[email protected]>
1 parent 94ed945 commit 4641d2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/ui/issues/issue-75763.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ struct Bug<const S: &'static str>;
88
fn main() {
99
let b: Bug::<{
1010
unsafe {
11+
// FIXME(const_generics): Decide on how to deal with invalid values as const params.
1112
std::mem::transmute::<&[u8], &str>(&[0xC0, 0xC1, 0xF5])
1213
}
1314
}>;

0 commit comments

Comments
 (0)