Make mac calls include their semicolons by compiler-errors · Pull Request #144714 · rust-lang/rust (original) (raw)
Checking toml v0.7.8
error: unreachable pattern
--> src/tools/clippy/clippy_utils/src/ast_utils/mod.rs:307:9
|
306 | (Empty, Empty) => true,
| -------------- matches any value
307 | (MacCall(l), MacCall(r)) => {
| ^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
|
= note: `-D unreachable-patterns` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unreachable_patterns)]`
---
|
note: multiple earlier patterns match some of the same values
--> src/tools/clippy/clippy_utils/src/ast_utils/mod.rs:310:9
|
298 | (Let(l), Let(r)) => {
| ---------------- matches some of the same values
...
304 | (Item(l), Item(r)) => eq_item(l, r, eq_item_kind),
| ------------------ matches some of the same values
305 | (Expr(l), Expr(r)) | (Semi(l), Semi(r)) => eq_expr(l, r),
| --------------------------------------- matches some of the same values
306 | (Empty, Empty) => true,
| -------------- matches some of the same values
...
310 | _ => false,
---
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
help: if this is intentional, prefix it with an underscore
|
306 | (_Empty, _Empty) => true,
| + +
[RUSTC-TIMING] backtrace test:false 0.325
Checking unicode-normalization v0.1.24
[RUSTC-TIMING] toml test:false 0.330