mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Split long line
This commit is contained in:
parent
93f602f1cf
commit
a7db92574c
@ -146,7 +146,8 @@ For cargo lints, the process of testing differs in that we are interested in the
|
|||||||
manifest.
|
manifest.
|
||||||
|
|
||||||
If our new lint is named e.g. `foo_categories`, after running `cargo dev
|
If our new lint is named e.g. `foo_categories`, after running `cargo dev
|
||||||
new_lint --name=foo_categories --type=cargo --category=cargo` we will find by default two new crates, each with its manifest file:
|
new_lint --name=foo_categories --type=cargo --category=cargo` we will find by
|
||||||
|
default two new crates, each with its manifest file:
|
||||||
|
|
||||||
* `tests/ui-cargo/foo_categories/fail/Cargo.toml`: this file should cause the
|
* `tests/ui-cargo/foo_categories/fail/Cargo.toml`: this file should cause the
|
||||||
new lint to raise an error.
|
new lint to raise an error.
|
||||||
|
Loading…
Reference in New Issue
Block a user