handle ByRef in relate

This commit is contained in:
Bastian Kauschke
2020-04-11 18:05:02 +02:00
parent 01b3637f6e
commit a08bccb3c1
5 changed files with 87 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
// check-pass
#![feature(const_generics)]
#![allow(incomplete_features)]
struct Foo<const V: [usize; 0] > {}
type MyFoo = Foo<{ [] }>;
fn main() {
let _ = Foo::<{ [] }> {};
}