about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorMads Marquart <mads@marquart.dk>2024-05-06 08:20:48 +0200
committerMads Marquart <mads@marquart.dk>2024-05-06 09:14:38 +0200
commitff41c99bb88b0309f5400f2c69d2ecccf3dbbb14 (patch)
treef0764f1af2282e1c3823a0d46068b4cd0a34e91e /compiler/rustc_errors/src/snippet.rs
parent28622c9e526ea3d1bd31eba546fc73eeb717752a (diff)
downloadrust-ff41c99bb88b0309f5400f2c69d2ecccf3dbbb14.tar.gz
rust-ff41c99bb88b0309f5400f2c69d2ecccf3dbbb14.zip
iOS/tvOS/watchOS/visionOS: Improve File Debug impl
This uses `libc::fcntl`, which, while not explicitly marked as available
in the headers, is already used by `File::sync_all` and `File::sync_data`
on these platforms, so should be fine to use here as well.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions