about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-02-28 16:04:49 +0100
committerGitHub <noreply@github.com>2024-02-28 16:04:49 +0100
commitd8404084c0b35ad1883338678118cf4cd7c02cb1 (patch)
tree9134c7c56a1a57cdcb908c79e52d82ef3aa2f524 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parentef324565d071c6d7e2477a195648549e33d6a465 (diff)
parenta0fcc8ebc0793afd66be06db3c338b0b4d43fe3c (diff)
downloadrust-d8404084c0b35ad1883338678118cf4cd7c02cb1.tar.gz
rust-d8404084c0b35ad1883338678118cf4cd7c02cb1.zip
Rollup merge of #120051 - riverbl:os-str-display, r=m-ou-se
Add `display` method to `OsStr`

Add `display` method to `OsStr` for lossy display of an `OsStr` which may contain invalid unicode.

Invalid Unicode sequences are replaced with `U+FFFD REPLACEMENT CHARACTER`.

This change also makes the `std::ffi::os_str` module public (see https://github.com/rust-lang/libs-team/issues/326#issuecomment-1894160023).

- ACP: https://github.com/rust-lang/libs-team/issues/326
- Tracking issue: #120048
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions