about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2023-01-16 19:27:18 -0800
committerJubilee Young <workingjubilee@gmail.com>2023-01-16 20:58:15 -0800
commit2d927cc1941cce6f320640836941ca480e958ead (patch)
tree1587740e184786bab0fce85a00379f985adcca78 /compiler/rustc_codegen_llvm/src/errors.rs
parent4781233a77e879e49cb5ce3c98d2abba6a6ade7a (diff)
downloadrust-2d927cc1941cce6f320640836941ca480e958ead.tar.gz
rust-2d927cc1941cce6f320640836941ca480e958ead.zip
Explain the "no-error" io::Error case
Fundamentally, querying the OS for error codes is a process
that is deeply subject to the whims of chance and fortune.
We can account for OS, but not for every combination of platform APIs.
A compiled binary may not recognize new errors introduced years later.
We should clarify a few especially odd situations, and what they mean:
We can effectively promise nothing.

This allows removing mention of ErrorKind::Uncategorized.
That error variant is hidden quite deliberately, so we
should not explicitly mention it.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions