Skip to content
/ rustc Public
forked from rust-lang/rust

Commit

Permalink
Auto merge of rust-lang#5673 - phansch:endless-loop, r=Manishearth
Browse files Browse the repository at this point in the history
Add regression test for endless loop / update `pulldown_cmark`

Closes rust-lang#4917

This was fixed in pulldown_cmark 0.7.1, specifically pulldown-cmark/pulldown-cmark#438

changelog: none
  • Loading branch information
bors committed Jun 1, 2020
2 parents bee0608 + 861b897 commit bfafb8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
4 changes: 4 additions & 0 deletions tests/ui/crashes/regressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}

0 comments on commit bfafb8e

Please sign in to comment.