"#[test] attribute is only allowed on fn items" on fn struct method #55787
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Uh oh!
There was an error while loading. Please reload this page.
warns however the
#[test]
in fact on afn
itemMaybe this could be made a bit more clear?
rustc 1.32.0-nightly (25a42b2ce 2018-11-07)
The text was updated successfully, but these errors were encountered: