about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-24 18:00:40 +0200
committerGitHub <noreply@github.com>2024-07-24 18:00:40 +0200
commitf3a7c3fd3b252da0f7b955d66d7ea975d03c7f98 (patch)
tree105b51fddf918e2d07140d32d8ef3782acfab4a1 /compiler/rustc_parse/src/errors.rs
parente342efe545cacf9c933166d166cf1f0996079a5a (diff)
parent7cd25b1b1183a58c1f6652826e3ec5ed23f8d9ef (diff)
downloadrust-f3a7c3fd3b252da0f7b955d66d7ea975d03c7f98.tar.gz
rust-f3a7c3fd3b252da0f7b955d66d7ea975d03c7f98.zip
Rollup merge of #128131 - ChrisDenton:stuff, r=workingjubilee
Import `c_void` rather than using the full path

Follow up to #128092. As requested, this imports `c_void` in more places. I also fixed up some imports to use `core` for core types instead of `crate`. While that is not strictly necessary, I think ideally things in `sys/pal` should only depend on itself or core so that the code is less spaghetti. We're far away from that ideal at the moment but I can at least try to slowly move in that direction.

Also this forbids `unsafe_op_in_unsafe_fn` for library/std/src/sys/pal/windows by fixing up the remaining unsafe bits that are just punting their unsafe requirements onto the caller of the `unsafe` function (or definition macro).

<!--
r? workingjubilee
-->
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions