1
Fork 0

rustdoc: run more HIR validation to mirror rustc

This commit is contained in:
Patrik Kårlin 2023-02-28 19:13:21 +01:00
parent 8a7ca936e6
commit 9b5115f92b
No known key found for this signature in database
15 changed files with 146 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#![feature(associated_const_equality)]
trait T {
type A: S<C<X = 0i32> = 34>;
//~^ ERROR associated type bindings are not allowed here
}
trait S {
const C: i32;
}