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

Commit 37e41c8

Browse files
authored
Merge pull request #961 from matthiaskrgr/88536
add rust-lang/rust#88536
2 parents 83a9327 + f259eb4 commit 37e41c8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ices/88536.sh

+14
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)