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

libstd: Change Path::new to Path::init. #10697

Merged
merged 1 commit into from
Nov 29, 2013
Merged

Conversation

pcwalton
Copy link
Contributor

r+

(carrying over from @alexcrichton's review)

@g3xzh
Copy link
Contributor

g3xzh commented Nov 28, 2013

Need to sed from Path::new to Path::init in the benchmark tests.
Sorry.. :(

bors added a commit that referenced this pull request Nov 29, 2013
@bors bors closed this Nov 29, 2013
@bors bors merged commit c54427d into rust-lang:master Nov 29, 2013
chris-morgan added a commit to chris-morgan/rust-http that referenced this pull request Nov 30, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 5, 2023
Ignore `shadow` warns in code from macro expansions

This PR fixes rust-lang/rust-clippy#9757

I am in doubt if just looking for `pat.span.from_expansion()` would be sufficient instead of looking for both `pat.span.desugaring_kind().is_some()` or `pat.span.from_expansion()`. The tests (including the new one) passes if I leave the only `if pat.span.from_expansion()`. Any feedbacks?

Also, this is my first PR here, sorry for anything and thanks for the patience!

changelog: [`shadow_same`, `shadow_reuse`, `shadow_unrelated`]: avoiding warns in macro-generated code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants