We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
|&:|
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
|:| and |&mut:| are obsolete, but |&:| is not.
|:|
|&mut:|
fn main() { let a = |:| {}; //~ error: obsolete syntax: `:`, `&mut:`, or `&:` let b = |&:| {}; // accepted let c = |&mut :| {}; //~ error: obsolete syntax: `:`, `&mut:`, or `&:` }
rustc 1.0.0-nightly (b47aebe3f 2015-02-26) (built 2015-02-27)
The text was updated successfully, but these errors were encountered:
I think I spotted the problem, testing...
Sorry, something went wrong.
Fix in #22884
cc8a5a0
No branches or pull requests
|:|
and|&mut:|
are obsolete, but|&:|
is not.The text was updated successfully, but these errors were encountered: