Skip to content

Commit 4cfe55a

Browse files
mention clippy improvement
1 parent 4d2738d commit 4cfe55a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

posts/2021-05-06-Rust-1.52.0.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@ from the appropriate page on our website, and check out the
2727

2828
This release is fairly small, primarily containing stabilizations of various APIs in the standard library.
2929

30-
This release also closes out a long-standing [bug] in the Rust compiler. Previously, LLVM assumed that the program would make progress, and used this to optimize. This meant that certain constructs in safe Rust were removed or otherwise miscompiled, such as infinite loops (`loop {}`) or recursion which didn't terminate.
30+
We have also closed out a long-standing [bug] in the Rust compiler. Previously, LLVM assumed that the program would make progress, and used this to optimize. This meant that certain constructs in safe Rust were removed or otherwise miscompiled, such as infinite loops (`loop {}`) or recursion which didn't terminate.
3131

3232
In Rust 1.49.0, we landed a [partial fix] to this bug specifically targeting
3333
`loop {}`, but this fix brings an LLVM upgrade which avoids needing workarounds
3434
for these cases, fixing the larger class of bug.
3535

36+
Clippy has also gained a significant usability improvement: it no longer shares
37+
its build cache with `cargo check`, which means that errors and warnings will be
38+
properly reported when running it after `cargo check`.
39+
3640
[bug]: https://github.com/rust-lang/rust/issues/28728
3741
[partial fix]: https://github.com/rust-lang/rust/pull/77972
3842

0 commit comments

Comments
 (0)