diff options
| author | bors <bors@rust-lang.org> | 2020-06-01 17:16:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-06-01 17:16:06 +0000 |
| commit | bfafb8e0d61fd55bf72e11babefee76d17006367 (patch) | |
| tree | d5b98aa2d927135e4cec76f28ab2a0b2f6fa2584 | |
| parent | bee0608fadc1d10f525171d0986ada74024beb83 (diff) | |
| parent | 861b897c54200becd6767ad6e091abef61f15344 (diff) | |
| download | rust-bfafb8e0d61fd55bf72e11babefee76d17006367.tar.gz rust-bfafb8e0d61fd55bf72e11babefee76d17006367.zip | |
Auto merge of #5673 - phansch:endless-loop, r=Manishearth
Add regression test for endless loop / update `pulldown_cmark` Closes #4917 This was fixed in pulldown_cmark 0.7.1, specifically raphlinus/pulldown-cmark#438 changelog: none
| -rw-r--r-- | clippy_lints/Cargo.toml | 2 | ||||
| -rw-r--r-- | tests/ui/crashes/regressions.rs | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index 98391732d18..e959c1a6511 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -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"] } diff --git a/tests/ui/crashes/regressions.rs b/tests/ui/crashes/regressions.rs index 623ae51f9f0..3d5063d1a3a 100644 --- a/tests/ui/crashes/regressions.rs +++ b/tests/ui/crashes/regressions.rs @@ -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() {} |
