We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b76ee83 commit 0671bdbCopy full SHA for 0671bdb
src/libsyntax_ext/test.rs
@@ -53,7 +53,7 @@ pub fn expand_test_or_bench(
53
if let Annotatable::Item(i) = item { i }
54
else {
55
cx.parse_sess.span_diagnostic.span_fatal(item.span(),
56
- "#[test] attribute is only allowed on fn items").raise();
+ "#[test] attribute is only allowed on non associated functions").raise();
57
};
58
59
if let ast::ItemKind::Mac(_) = item.node {
0 commit comments