Raise required compiler to Rust 1.82 by dtolnay · Pull Request #1662 · dtolnay/cxx
added 10 commits
October 15, 2025 11:48 warning: implicit borrow as raw pointer
--> gen/build/src/cfg.rs:452:21
|
452 | / &mut **derefs
453 | | .borrow_mut()
454 | | .entry(self.handle())
455 | | .or_insert_with(|| Box::new(Cfg::current()))
| |____________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
= note: `-W clippy::borrow-as-ptr` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::borrow_as_ptr)]`
help: use a raw pointer instead
|
452 | &raw mut **derefs
| +++
warning: implicit borrow as raw pointer
--> src/unique_ptr.rs:425:40
|
425 | unique_ptr_std_string_null(&mut repr);
| ^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
= note: `-W clippy::borrow-as-ptr` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::borrow_as_ptr)]`
help: use a raw pointer instead
|
425 | unique_ptr_std_string_null(&raw mut repr);
| +++
warning: implicit borrow as raw pointer
--> src/unique_ptr.rs:431:44
|
431 | unsafe { unique_ptr_std_string_raw(&mut repr, raw) }
| ^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
help: use a raw pointer instead
|
431 | unsafe { unique_ptr_std_string_raw(&raw mut repr, raw) }
| +++
warning: implicit borrow as raw pointer
--> src/unique_ptr.rs:435:44
|
435 | unsafe { unique_ptr_std_string_get(&repr) }
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
help: use a raw pointer instead
|
435 | unsafe { unique_ptr_std_string_get(&raw const repr) }
| +++++++++
warning: implicit borrow as raw pointer
--> src/unique_ptr.rs:438:48
|
438 | unsafe { unique_ptr_std_string_release(&mut repr) }
| ^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
help: use a raw pointer instead
|
438 | unsafe { unique_ptr_std_string_release(&raw mut repr) }
| +++
warning: implicit borrow as raw pointer
--> src/unique_ptr.rs:441:45
|
441 | unsafe { unique_ptr_std_string_drop(&mut repr) }
| ^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
help: use a raw pointer instead
|
441 | unsafe { unique_ptr_std_string_drop(&raw mut repr) }
| +++
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters