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-01-18 15:55:36 +0530
committerGitHub <noreply@github.com>2023-01-18 15:55:36 +0530
commitd6ea99d2ed70334b8403bcdfe767713b1edd0e80 (patch)
tree2464598d1455d853868018659f5326d49da515bf /compiler/rustc_codegen_llvm/src/errors.rs
parent74c1ad5d35c7fbdb834c42144d966279fdff3679 (diff)
parent662f1f20e4497cdd1459d15686706fe27d56d335 (diff)
downloadrust-d6ea99d2ed70334b8403bcdfe767713b1edd0e80.tar.gz
rust-d6ea99d2ed70334b8403bcdfe767713b1edd0e80.zip
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where-applicable, r=m-ou-se
Lift `T: Sized` bounds from some `strict_provenance` pointer methods

This PR removes requirement for `T` (pointee type) to be `Sized` to call `pointer::{addr, expose_addr, with_addr, map_addr}`. These functions don't use `T`'s size, so there is no reason for them to require this. Updated public API:

cc ``@Gankra,`` #95228
r? libs-api
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions