Account for bad placeholder errors on consts/statics with trait objects
This commit is contained in:
parent
eab201df70
commit
052d77ea56
4 changed files with 30 additions and 2 deletions
|
|
@ -2,5 +2,4 @@ fn foo() -> _ { 5 } //~ ERROR E0121
|
|||
|
||||
static BAR: _ = "test"; //~ ERROR E0121
|
||||
|
||||
fn main() {
|
||||
}
|
||||
fn main() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue