You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -156,7 +156,7 @@ to style guidelines. The code has to be formatted by `rustfmt` before a PR will
156
156
157
157
It can be installed via `rustup`:
158
158
```bash
159
-
rustup component add rustfmt-preview
159
+
rustup component add rustfmt
160
160
```
161
161
162
162
Use `cargo fmt --all` to format the whole codebase.
@@ -220,7 +220,7 @@ That's why the `else_if_without_else` example uses the `register_early_lint_pass
220
220
221
221
### Fixing build failures caused by Rust
222
222
223
-
Clippy will sometimes break because it still depends on unstable internal Rust features. Most of the times we have to adapt to the changes and only very rarely there's an actual bug in Rust. Fixing build failures caused by Rust updates, can be a good way to learn about Rust internals.
223
+
Clippy will sometimes fail to build from source because building it depends on unstable internal Rust features. Most of the times we have to adapt to the changes and only very rarely there's an actual bug in Rust. Fixing build failures caused by Rust updates, can be a good way to learn about Rust internals.
224
224
225
225
In order to find out why Clippy does not work properly with a new Rust commit, you can use the [rust-toolstate commit history][toolstate_commit_history].
226
226
You will then have to look for the last commit that contains `test-pass -> build-fail` or `test-pass` -> `test-fail` for the `clippy-driver` component. [Here][toolstate_commit] is an example.
@@ -257,6 +257,17 @@ Our highest priority is fixing [crashes][l-crash] and [bugs][l-bug]. We don't
257
257
want Clippy to crash on your code and we want it to be as reliable as the
258
258
suggestions from Rust compiler errors.
259
259
260
+
## Bors and Homu
261
+
262
+
We use a bot powered by [Homu][homu] to help automate testing and landing of pull
263
+
requests in Clippy. The bot's username is @bors.
264
+
265
+
You can find the Clippy bors queue [here][homu_queue].
266
+
267
+
If you have @bors permissions, you can find an overview of the available
268
+
commands [here][homu_instructions].
269
+
270
+
260
271
## Contributions
261
272
262
273
Contributions to Clippy should be made in the form of GitHub pull requests. Each pull request will
@@ -288,3 +299,6 @@ or the [MIT](http://opensource.org/licenses/MIT) license.
If you do not want to include your lint levels in your code, you can globally enable/disable lints by passing extra flags to clippy during the run: `cargo clippy -- -A lint_name` will run clippy with `lint_name` disabled and `cargo clippy -- -W lint_name` will run it with that enabled. On newer compilers you may need to use `clippy::lint_name` instead.
152
+
If you do not want to include your lint levels in your code, you can globally enable/disable lints by passing extra flags to Clippy during the run: `cargo clippy -- -A clippy::lint_name` will run Clippy with `lint_name` disabled and `cargo clippy -- -W clippy::lint_name` will run it with that enabled. This also works with lint groups. For example you can run Clippy with warnings for all lints enabled: `cargo clippy -- -W clippy::pedantic`
0 commit comments