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
This used to compile successfully in rustc versions 1.42.0 and older. It was parsed as (|| () as ())(). But since 1.43.0 it is no longer parsed by rustc: rust-lang/rust#68985.
error: casts cannot be followed by a function call --> src/main.rs:2:8 |2 | || () as ()(); | ^^^^^^^^ |help: try surrounding the expression in parentheses |2 | || (() as ())(); | + +
The text was updated successfully, but these errors were encountered:
This used to compile successfully in rustc versions 1.42.0 and older. It was parsed as
(|| () as ())()
. But since 1.43.0 it is no longer parsed by rustc: rust-lang/rust#68985.The text was updated successfully, but these errors were encountered: