error: expected identifier, found keyword `impl`
  --> $DIR/const-impl-norecover.rs:5:7
   |
LL | const impl Foo {
   |       ^^^^ expected identifier, found keyword

error: aborting due to previous error