Skip to content

Commit

Permalink
Auto merge of rust-lang#4286 - phansch:update_pulldown_cmark3, r=flip…
Browse files Browse the repository at this point in the history
…1995

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
  • Loading branch information
bors committed Jul 19, 2019
2 parents e5f2330 + 8dc6a46 commit 958af10
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 @@ -27,7 +27,7 @@ semver = "0.9.0"
serde = { version = "1.0", features = ["derive"] }
toml = "0.5"
unicode-normalization = "0.1"
pulldown-cmark = "0.5.2"
pulldown-cmark = "0.5.3"
url = "1.7.0"
if_chain = "1.0.0"
smallvec = { version = "0.6.5", features = ["union"] }
Expand Down
4 changes: 4 additions & 0 deletions tests/ui/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,7 @@ fn issue_2210() {}
/// This should not cause the lint to trigger:
/// #REQ-data-family.lint_partof_exists
fn issue_2343() {}

/// This should not cause an ICE:
/// __|_ _|__||_|
fn pulldown_cmark_crash() {}

0 comments on commit 958af10

Please sign in to comment.