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

View File

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