Can't run tests for `runtime-attributes`
Nemo157 opened this issue · comments
When I try running all the tests via cargo test --all
in this workspace I get an error from the runtime-attributes
crate:
> cargo test -p runtime-attributes
Compiling runtime-attributes v0.3.0-alpha.2 (/Users/nemo157/sources/runtime/runtime-attributes)
error[E0659]: `main` is ambiguous (built-in attribute vs any other name)
|
= note: `main` could refer to a built-in attribute
note: `main` could also refer to the crate-local procedural macro defined here
--> runtime-attributes/src/lib.rs:28:1
|
28| / pub fn main(attr: TokenStream, item: TokenStream) -> TokenStream {
29| | let rt = if attr.is_empty() {
30| | syn::parse_str("runtime::native::Native").unwrap()
31| | } else {
... |
60| | result.into()
61| | }
| |_^