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
I expect a more specific error. For example the usage
same!{fn f(a:32){}}
triggers the error:
error: expected type, found `32` --> wrapper/src/lib.rs:25:13 |25 | fn f(a: 32) {} | ^^ expected type
- only 32 is pointed!
Meta
I've tried the above using the latest stable (rustc 1.49.0 (e1884a8e3 2020-12-29)) and nightly (rustc 1.51.0-nightly (b12290861 2021-01-29)) versions of the compiler.
The text was updated successfully, but these errors were encountered:
Macro:
Usage of the macro:
Error:
I expect a more specific error. For example the usage
triggers the error:
- only
32
is pointed!Meta
I've tried the above using the latest stable (
rustc 1.49.0 (e1884a8e3 2020-12-29)
) and nightly (rustc 1.51.0-nightly (b12290861 2021-01-29)
) versions of the compiler.The text was updated successfully, but these errors were encountered: