Skip to content

Commit 958af10

Browse files
committed
Auto merge of rust-lang#4286 - phansch:update_pulldown_cmark3, r=flip1995
Update pulldown-cmark to 0.5.3 Fixes a couple of crashes of which I added one example to our tests. changelog: Update `pulldown-cmark` to 0.5.3 to fix potential crashes in `doc_markdown` lint
2 parents e5f2330 + 8dc6a46 commit 958af10

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
@@ -27,7 +27,7 @@ semver = "0.9.0"
2727
serde = { version = "1.0", features = ["derive"] }
2828
toml = "0.5"
2929
unicode-normalization = "0.1"
30-
pulldown-cmark = "0.5.2"
30+
pulldown-cmark = "0.5.3"
3131
url = "1.7.0"
3232
if_chain = "1.0.0"
3333
smallvec = { version = "0.6.5", features = ["union"] }

tests/ui/doc.rs

+4
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,7 @@ fn issue_2210() {}
178178
/// This should not cause the lint to trigger:
179179
/// #REQ-data-family.lint_partof_exists
180180
fn issue_2343() {}
181+
182+
/// This should not cause an ICE:
183+
/// __|_ _|__||_|
184+
fn pulldown_cmark_crash() {}

0 commit comments

Comments
 (0)