diff options
| author | bors <bors@rust-lang.org> | 2023-01-26 06:23:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-26 06:23:14 +0000 |
| commit | 3ac370b8908899d800be823f3f35ce23be46083b (patch) | |
| tree | 256b71be5d0afe67a396430e37d0f355cbf341aa | |
| parent | 801b1a1919fccd5c4be17efd586c78117efbd95a (diff) | |
| parent | ef5ec771bb4828a8464a4b5ed9ec09b7b48826db (diff) | |
| download | rust-3ac370b8908899d800be823f3f35ce23be46083b.tar.gz rust-3ac370b8908899d800be823f3f35ce23be46083b.zip | |
Auto merge of #107314 - matthiaskrgr:rollup-j40lnlj, r=matthiaskrgr
Rollup of 11 pull requests Successful merges: - #106407 (Improve proc macro attribute diagnostics) - #106960 (Teach parser to understand fake anonymous enum syntax) - #107085 (Custom MIR: Support binary and unary operations) - #107086 (Print PID holding bootstrap build lock on Linux) - #107175 (Fix escaping inference var ICE in `point_at_expr_source_of_inferred_type`) - #107204 (suggest qualifying bare associated constants) - #107248 (abi: add AddressSpace field to Primitive::Pointer ) - #107272 (Implement ObjectSafe and WF in the new solver) - #107285 (Implement `Generator` and `Future` in the new solver) - #107286 (ICE in new solver if we see an inference variable) - #107313 (Add Style Team Triagebot config) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
| -rw-r--r-- | src/common.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.rs b/src/common.rs index 2dcd42fbd8f..63ed10cdfcc 100644 --- a/src/common.rs +++ b/src/common.rs @@ -35,7 +35,8 @@ pub(crate) fn scalar_to_clif_type(tcx: TyCtxt<'_>, scalar: Scalar) -> Type { }, Primitive::F32 => types::F32, Primitive::F64 => types::F64, - Primitive::Pointer => pointer_ty(tcx), + // FIXME(erikdesjardins): handle non-default addrspace ptr sizes + Primitive::Pointer(_) => pointer_ty(tcx), } } |
