about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2021-08-24 16:53:58 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2021-08-24 16:53:58 +0100
commit4c0203eb4b3406cd2088c5d0092a0445294e2f6c (patch)
treeb1199f5012ed6171ac1b5cd0cd887428fbe36d7d /compiler/rustc_codegen_llvm/src
parent54df693dd7e6668b78f0636e269f7f928d4932d2 (diff)
downloadrust-4c0203eb4b3406cd2088c5d0092a0445294e2f6c.tar.gz
rust-4c0203eb4b3406cd2088c5d0092a0445294e2f6c.zip
io::ErrorKind: rationalise ordering in main enum
It is useful to keep some coherent structure to this ordering.  In
particular, Other and Uncategorized should be next to each other, at
the end.

Also it seems to make sense to treat UnexpectedEof and OutOfMemory
specially, since they are not like the other errors (despite
OutOfMemory also being generatable by some OS errors).

So:
 * Move Other to the end, just before Uncategorized
 * Move Unsupported to between Interrupted and UnexpectedEof
 * Add some comments documenting where to add things

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions