You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…xyas
fix: use hir_with_context to produce correct snippets for assigning_clones
The `assigning_clones` lint is producing wrong output when the assignment is a macro call.
Since Applicability level `Unspecified` will never be changed inside `hir_with_applicability`, so it is safe here to replace `hir_with_applicability` with `hir_with_context` to generate snippets of the macro call instead of the expansion.
fixesrust-lang#12776
changelog: [`assigning_clones`]: use `hir_with_context` to produce correct snippets
https://github.com/hoedown/hoedown
Benefits include upstream being maintained, and correctly parsing codefences, e.g. parsing
as a single nested code block
rather than two separate ones
The text was updated successfully, but these errors were encountered: