Internal lints: usage_of_qualified_ty & ty_pass_by_reference#60317
Internal lints: usage_of_qualified_ty & ty_pass_by_reference#60317bors merged 10 commits intorust-lang:masterfrom
Conversation
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
6f39b2c to
cf1a63f
Compare
|
☔ The latest upstream changes (presumably #60329) made this pull request unmergeable. Please resolve the merge conflicts. |
|
needs a rebase, r=me with that @bors delegate+ |
|
✌️ @flip1995 can now approve this pull request |
cf1a63f to
cf772ae
Compare
|
☔ The latest upstream changes (presumably #60351) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@bors p=1 super bitrotty apparently |
- USAGE_OF_QUALIFIED_TY - TY_PASS_BY_REFERENCE
cf772ae to
6567853
Compare
6567853 to
2e5f0b3
Compare
|
📌 Commit 2e5f0b3 has been approved by |
|
☀️ Test successful - checks-travis, status-appveyor |
Rustup to rustc 1.36.0-nightly (c7fcbfb 2019-04-29) Updates to pass the lint introduced in rust-lang/rust#60317 r? @oli-obk @mikerite
Rustup to rustc 1.36.0-nightly (c7fcbfb 2019-04-29) Updates to pass the lint introduced in rust-lang/rust#60317 r? @oli-obk @mikerite
|
|
||
| fn visit_ty(&mut self, | ||
| ty: & $($mutability)? Ty<'tcx>, | ||
| ty: $(& $mutability)? Ty<'tcx>, |
There was a problem hiding this comment.
Wow, that's a neat trick! cc @nikomatsakis how did we not think of this?
There was a problem hiding this comment.
{visit,super}_{local,region,const} (and maybe a few others?) should probably get the same treatment.
There was a problem hiding this comment.
heh, a good question.
Closes #59952
Implements internal lints:
USAGE_OF_QUALIFIED_TYTY_PASS_BY_REFERENCEr? @oli-obk