Skip to content

Commit

Permalink
Add cliffhanger about suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
blyxyas committed Apr 17, 2023
1 parent 064e551 commit c4c19e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions book/src/development/writing_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ The `// run-rustfix` comment will additionally run [rustfix] for our test.
Rustfix will apply the suggestions from the lint to the test file code and
compare that to the contents of a `.fixed` file.

We'll talk about suggestions more in depth in a later chapter.
<!-- FIXME: (blyyas) Link to "Emitting lints" when that gets merged -->

Use `cargo dev bless` to automatically generate the `.fixed` file after running the tests.

[rustfix]: https://github.com/rust-lang/rustfix
Expand Down

0 comments on commit c4c19e1

Please sign in to comment.