Fix line lengths

This commit is contained in:
Santiago Pastorino 2020-03-16 18:51:29 -03:00 committed by Who? Me?!
parent e3c9c55b2f
commit 9c853c9a23
2 changed files with 12 additions and 12 deletions

View File

@ -289,13 +289,13 @@ self.tcx.sess.add_lint(lint::builtin::OVERLAPPING_INHERENT_IMPLS,
msg); msg);
``` ```
We want to convert this into an error. In some cases, there may be an existing We want to convert this into an error. In some cases, there may be an
error for this scenario. In others, we will need to allocate a fresh diagnostic existing error for this scenario. In others, we will need to allocate a
code. fresh diagnostic code. [Instructions for allocating a fresh diagnostic
[Instructions for allocating a fresh diagnostic code can be found here.](diagnostics/diagnostic-codes.html) code can be found here.](diagnostics/diagnostic-codes.html) You may want
You may want to mention in the extended description that the compiler behavior to mention in the extended description that the compiler behavior
changed on this point, and include a reference to the tracking issue for the changed on this point, and include a reference to the tracking issue for
change. the change.
Let's say that we've adopted `E0592` as our code. Then we can change the Let's say that we've adopted `E0592` as our code. Then we can change the
`add_lint()` call above to something like: `add_lint()` call above to something like:

View File

@ -1,12 +1,12 @@
# The compiler testing framework # The compiler testing framework
The Rust project runs a wide variety of different tests, orchestrated The Rust project runs a wide variety of different tests, orchestrated by
by the build system (`x.py test`). The main test harness for testing the build system (`x.py test`). The main test harness for testing the
the compiler itself is a tool called compiletest (located in the compiler itself is a tool called compiletest (located in the
[`src/tools/compiletest`] directory). This section gives a brief [`src/tools/compiletest`] directory). This section gives a brief
overview of how the testing framework is setup, and then gets into some overview of how the testing framework is setup, and then gets into some
of the details on [how to run tests](./running.html) as well as of the details on [how to run tests](./running.html) as well as [how to
[how to add new tests](./adding.html). add new tests](./adding.html).
[`src/tools/compiletest`]: https://github.com/rust-lang/rust/tree/master/src/tools/compiletest [`src/tools/compiletest`]: https://github.com/rust-lang/rust/tree/master/src/tools/compiletest