Convert warning about *const _ to a future-compat lint#46914
Convert warning about *const _ to a future-compat lint#46914bors merged 5 commits intorust-lang:masterfrom
*const _ to a future-compat lint#46914Conversation
|
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