1
Fork 0

Rollup merge of #95852 - niluxv:strict-provenance-lint-fixup, r=Dylan-DPC

Fix missing space in lossy provenance cast lint

See https://github.com/rust-lang/rust/pull/95599#discussion_r846425050
This commit is contained in:
Dylan DPC 2022-04-10 21:03:37 +02:00 committed by GitHub
commit a52eb325e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1012,7 +1012,7 @@ impl<'a, 'tcx> CastCheck<'tcx> {
err.help(msg);
}
err.help(
"if you can't comply with strict provenance and need to expose the pointer\
"if you can't comply with strict provenance and need to expose the pointer \
provenance you can use `.expose_addr()` instead"
);