Add regression test for endless loop

This was fixed in pulldown_cmark 0.7.1, specifically
https://github.com/raphlinus/pulldown-cmark/pull/438
This commit is contained in:
Philipp Hansch 2020-06-01 10:20:17 +02:00
parent 6c008d7e91
commit 861b897c54
No known key found for this signature in database
GPG Key ID: 2B4399C4BF4DCBDE
2 changed files with 5 additions and 1 deletions

View File

@ -21,7 +21,7 @@ cargo_metadata = "0.9.1"
if_chain = "1.0.0"
itertools = "0.9"
lazy_static = "1.0.2"
pulldown-cmark = { version = "0.7", default-features = false }
pulldown-cmark = { version = "0.7.1", default-features = false }
quine-mc_cluskey = "0.2.2"
regex-syntax = "0.6"
serde = { version = "1.0", features = ["derive"] }

View File

@ -6,4 +6,8 @@ pub fn foo(bar: *const u8) {
println!("{:#p}", bar);
}
// Regression test for https://github.com/rust-lang/rust-clippy/issues/4917
/// <foo
struct A {}
fn main() {}