about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2021-04-02 15:11:49 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2021-04-02 15:11:49 +0300
commit5547d927467ef3398c3f509f0212ba26645a18da (patch)
treeebd064226a55976d47d2fd5d01c1c0157582d183 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent5662d9343f0696efcc38a1264656737c9f22d427 (diff)
downloadrust-5547d927467ef3398c3f509f0212ba26645a18da.tar.gz
rust-5547d927467ef3398c3f509f0212ba26645a18da.zip
Document "standard" conventions for error messages
These are currently documented in the API guidelines:

https://rust-lang.github.io/api-guidelines/interoperability.html#error-types-are-meaningful-and-well-behaved-c-good-err

I think it makes sense to uplift this guideline (in a milder form) into
std docs. Printing and producing errors is something that even
non-expert users do frequently, so it is useful to give at least some
indication of what a typical error message looks like.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions