Skip to content
New issue

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

Remove impl &Type #5267

Closed
bstrie opened this issue Mar 7, 2013 · 1 comment
Closed

Remove impl &Type #5267

bstrie opened this issue Mar 7, 2013 · 1 comment
Labels
A-type-system Area: Type system

Comments

@bstrie
Copy link
Contributor

bstrie commented Mar 7, 2013

<@nmatsakis> I'm not sure whether impl &Type should even be allowed, but maybe
             there's a good reason for it.
<@pcwalton> bstrie: impl &Type is going to be removed
<@pcwalton> well, I would like it to be
<@pcwalton> it's on my list of things to forbid
<@pcwalton> the concept of "base types" is a thing imported from Go that makes
            no sense anymore
<@pcwalton> with explicit self
@catamorphism
Copy link
Contributor

@pcwalton fixed this -- closing

bors added a commit to rust-lang-ci/rust that referenced this issue May 2, 2020
Fix match single binding when in a let stmt

Fix bad suggestion when `match_single_binding` lints when inside a local (let) statement.

Fixes rust-lang#5267

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-type-system Area: Type system
Projects
None yet
Development

No branches or pull requests

2 participants