You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test.rs:1:12: 1:13 error: obsolete syntax: empty implementation
test.rs:1 impl A for B;
^
note: instead of `impl A;`, write `impl A {}`
error: aborting due to previous error
The note is talking about a different construct. It could use a more generic language to refer to trait implementations and non-trait implementations. I also question handling this via the obsolete syntax pathway, as it seems to leak historical details that are not too relevant for a Rust user.
The text was updated successfully, but these errors were encountered:
huonw
added a commit
to huonw/rust
that referenced
this issue
Jan 31, 2014
This is has been obsolete for quite a while now (including a release),
so removing the special handling seems fine. (The error message is quite
good still anyway.)
Fixesrust-lang#9580.
…r=llogiq
let `upper_case_acronyms` check the enum name
Signed-off-by: TennyZhuang <zty0826@gmail.com>
Fixrust-lang#9579
changelog: [`upper_case_acronyms`]: check the enum name
gives this error:
The note is talking about a different construct. It could use a more generic language to refer to trait implementations and non-trait implementations. I also question handling this via the obsolete syntax pathway, as it seems to leak historical details that are not too relevant for a Rust user.
The text was updated successfully, but these errors were encountered: