Skip to content

Commit 861b897

Browse files
committed
Add regression test for endless loop
This was fixed in pulldown_cmark 0.7.1, specifically pulldown-cmark/pulldown-cmark#438
1 parent 6c008d7 commit 861b897

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

clippy_lints/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cargo_metadata = "0.9.1"
2121
if_chain = "1.0.0"
2222
itertools = "0.9"
2323
lazy_static = "1.0.2"
24-
pulldown-cmark = { version = "0.7", default-features = false }
24+
pulldown-cmark = { version = "0.7.1", default-features = false }
2525
quine-mc_cluskey = "0.2.2"
2626
regex-syntax = "0.6"
2727
serde = { version = "1.0", features = ["derive"] }

tests/ui/crashes/regressions.rs

+4
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ pub fn foo(bar: *const u8) {
66
println!("{:#p}", bar);
77
}
88

9+
// Regression test for https://github.com/rust-lang/rust-clippy/issues/4917
10+
/// <foo
11+
struct A {}
12+
913
fn main() {}

0 commit comments

Comments
 (0)