Fix line lengths
This commit is contained in:
parent
e3c9c55b2f
commit
9c853c9a23
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue