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
When unused the compiler issues the standard unused code warning.
As far as I can tell, there is no way to actually use the function without annotating the types for everything (foo::<&str, uint>(5u)) because otherwise the compiler can't infer the type of the function.
The text was updated successfully, but these errors were encountered:
…r=Veykril
`macro_rules` as macro name
This PR makes RA parse `macro_rules! {}` (note the missing identifier) as a `MACRO_CALL` instead of `MACRO_RULES`.
Fixesrust-lang#15969.
The following function compiles:
When unused the compiler issues the standard unused code warning.
As far as I can tell, there is no way to actually use the function without annotating the types for everything (
foo::<&str, uint>(5u)
) because otherwise the compiler can't infer the type of the function.The text was updated successfully, but these errors were encountered: