Open Bug 1606073 Opened 4 years ago Updated 2 years ago

xpcom: clippy isn't happy with xpcom - clippy::not_unsafe_ptr_arg_deref

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

People

(Reporter: Sylvestre, Unassigned)

References

(Depends on 1 open bug)

Details

$ cargo clippy  --manifest-path xpcom/rust/nsstring/Cargo.toml
/home/sylvestre/dev/mozilla/mozilla-central.hg/xpcom/rust/nsstring/src/lib.rs
  1349:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1349:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1350:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1350:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1352:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1352:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1353:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1353:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1354:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1354:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1355:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1355:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1388:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1388:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1388:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1388:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1388:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1388:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1388:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1388:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1389:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1389:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1389:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1389:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1389:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1389:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1389:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1389:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1390:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1390:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1390:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1390:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1390:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1390:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1390:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1390:22  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1396:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1396:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1396:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1396:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1396:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1396:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1396:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1396:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1397:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1397:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1397:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1397:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1397:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1397:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1397:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1397:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1398:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1398:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1398:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1398:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1398:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1398:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1398:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1398:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1404:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1404:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1404:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1404:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1404:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1404:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1404:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1404:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1405:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1405:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1405:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1405:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1405:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1405:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1405:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1405:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1406:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1406:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1406:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1406:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1406:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1406:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1406:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1406:33  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1442:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1443:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1444:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1445:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1446:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1447:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1448:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1449:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1460:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1460:35  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1461:14  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
  1461:34  error  this public function dereferences a raw pointer but is not marked `unsafe`  clippy::not_unsafe_ptr_arg_deref (clippy)
Depends on: 1607147
Severity: normal → S3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.