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
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
err.span_label(attr_sp,"the `#[test]` macro causes a a function to be run on a test and has no effect on non-functions")
116
117
.span_label(item.span,format!("expected a non-associated function, found {} {}", item.kind.article(), item.kind.descr()))
117
118
.span_suggestion(attr_sp,"replace with conditional compilation to make the item only exist when tests are being run",String::from("#[cfg(test)]"),Applicability::MaybeIncorrect)
0 commit comments