Skip to content

Commit

Permalink
Add FIXME note to const generics test
Browse files Browse the repository at this point in the history
Co-authored-by: lcnr <[email protected]>
  • Loading branch information
camelid and lcnr authored Oct 26, 2020
1 parent 94ed945 commit 4641d2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/ui/issues/issue-75763.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
}>;
Expand Down

0 comments on commit 4641d2e

Please sign in to comment.