mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
Make const param default test reproduce original ICE
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#![feature(min_generic_const_args)]
|
||||
|
||||
trait Bar<const N: bool = false> {}
|
||||
trait Bar<const N: usize = const { 1 + 1 }> {}
|
||||
|
||||
trait Foo {
|
||||
type AssocB: Bar;
|
||||
|
||||
Reference in New Issue
Block a user