Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit f259eb4

Browse files
committed
1 parent 83a9327 commit f259eb4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ices/88536.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
rustc --emit=mir -Zsave-analysis - << EOF
4+
5+
#![allow(incomplete_features)]
6+
#[derive(PartialEq, Eq)]
7+
pub struct Foo {}
8+
pub struct Foo_<const F: Foo>;
9+
10+
impl Foo_<{Foo {}}> {}
11+
12+
fn main() {}
13+
14+
EOF

0 commit comments

Comments
 (0)