Account for bad placeholder errors on consts/statics with trait objects

This commit is contained in:
Yuki Okushi 2021-06-10 12:06:47 +09:00
parent eab201df70
commit 052d77ea56
4 changed files with 30 additions and 2 deletions

View file

@ -2,5 +2,4 @@ fn foo() -> _ { 5 } //~ ERROR E0121
static BAR: _ = "test"; //~ ERROR E0121
fn main() {
}
fn main() {}