Closed
Description
See rust-lang/rust#67131.
I tried the following as a quick test:
#[cfg(FALSE)]
trait T {
default fn foo(&self);
}
struct S;
#[cfg(FALSE)]
impl S {
const C: i32;
type Ty;
type Qux: Debug;
fn foo();
fn bar(..., x: usize) {}
fn baz(...) {}
}
fn main() {}
RA reports parsing errors on default fn
in a trait and on fn bar(..., x: usize)
.