about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-05-23 00:32:18 +0530
committerGitHub <noreply@github.com>2023-05-23 00:32:18 +0530
commit47fe1a3e1f625f0e15baeb742e476977de26e6f3 (patch)
tree532be334beb2ba89c84449d1a02ce8b54e46cca0 /compiler/rustc_codegen_llvm/src/errors.rs
parentdf86200965c89d31063475ae8106637f66fdf889 (diff)
parent77481099ca4be8fd8515d5e5bb873f3674cb7a2b (diff)
downloadrust-47fe1a3e1f625f0e15baeb742e476977de26e6f3.tar.gz
rust-47fe1a3e1f625f0e15baeb742e476977de26e6f3.zip
Rollup merge of #111609 - LegionMammal978:internal-unsafe, r=thomcc
Mark internal functions and traits unsafe to reflect preconditions

No semantics are changed in this PR; I only mark some functions and and a trait `unsafe` which already had implicit preconditions. Although it seems somewhat redundant for `numfmt::Part::Copy` to contain a `&[u8]` instead of a `&str`, given that all of its current consumers ultimately expect valid UTF-8. Is the type also intended to work for byte-slice formatting in the future?
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions