about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorZack M. Davis <code@zackmdavis.net>2018-06-30 08:50:28 -0700
committerWho? Me?! <mark-i-m@users.noreply.github.com>2018-07-04 17:14:02 -0500
commitfa644901e94fb740741d495f04220a5ebf77694e (patch)
treec3a9828c77ccfd2b550d4a6f74d8b32d52d348b6 /src/doc/rustc-dev-guide
parent0b7ea143465aa1b5f243a5e51ffc726dd212fe77 (diff)
downloadrust-fa644901e94fb740741d495f04220a5ebf77694e.tar.gz
rust-fa644901e94fb740741d495f04220a5ebf77694e.zip
"easier" → "more informative"; omit needless clause
We don't want to leave the impression that spans are about making it
easier for compiler developers to perform the arduous task of emitting
an error; spans are about pointing to particular segments of code in the
emitted error messages. Also, we don't need to say "whenever an error
comes up"; that's implied by the phrase "error reporting."
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/diag.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/diag.md b/src/doc/rustc-dev-guide/src/diag.md
index 5984e8621d2..0bef3e27412 100644
--- a/src/doc/rustc-dev-guide/src/diag.md
+++ b/src/doc/rustc-dev-guide/src/diag.md
@@ -7,7 +7,7 @@ This chapter is about how to emit compile errors and lints from the compiler.
 
 [`Span`][span] is the primary data structure in `rustc` used to represent a
 location in the code being compiled. `Span`s are attached to most constructs in
-HIR and MIR, allowing for easier error reporting whenever an error comes up.
+HIR and MIR, allowing for more informative error reporting.
 
 [span]: https://doc.rust-lang.org/nightly/nightly-rustc/syntax/codemap/struct.Span.html