-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Convert warning about *const _
to a future-compat lint
#46914
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Needs a rebase |
r=me with a rebase |
bd3bee4
to
0783db9
Compare
Oh true, I had a hunch this would cause an error because of |
Still errors in |
These further changes got my local copy ( EDIT: (Well, most of one. Didn't have Make installed yet so those tests failed and prevented the rustdoc tests apparently)
-141 let arr = &mut self.values as &mut [ManuallyDrop<_>];
+141 let arr = &mut self.values as &mut [ManuallDrop<<A as Array>::Element>];
...
-263 let arr = &mut source_array_vec.values as &mut [ManualyDrop<_>];
+263 let arr =
+264 &mut source_array_vec.values as &mut [ManuallyDrop<<A as Array>::Element>];
-773 let buf = &mut (*db).ReparseTarget as *mut _;
+773 let buf = &mut (*db).ReparseTarget as *mut c::WCHAR; commit at CAD97@0563701 if you just want to add that to the PR. |
@CAD97 thanks! I develop on OSX, so would have had to wait for AppVeyor to fail before I could fix the windows errors |
doc test failure:
|
@bors r+ |
📌 Commit 60e6629 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
#46664 was merged before I could convert the soft warning about method lookup on
*const _
into a future-compatibility lint. This PR makes that change.fixes #46837
tracking issue for the future-compatibility lint: #46906
r? @arielb1