From ee8a54a7558ca612fa66d74f41805524f62bf6aa Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Thu, 7 Nov 2019 05:37:11 +0900 Subject: [PATCH] Add issue-66152 --- ices/66152.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ices/66152.rs diff --git a/ices/66152.rs b/ices/66152.rs new file mode 100644 index 00000000..9dc140dc --- /dev/null +++ b/ices/66152.rs @@ -0,0 +1,7 @@ +fn main() {} + +const fn foo() -> usize { 0 } + +struct S<'a> { + beta: [(); foo::<&'a ()>()], +}