Skip to content

Nonfatal rustdoc error on cssparser-macros #40978

Closed
@jdm

Description

@jdm

The new markdown parser does not like this code block: https://github.com/servo/rust-cssparser/blob/20b509a7d3ca6c432281ebd00680bb0c3f5aadef/macros/lib.rs#L60-L67
I see:

error: unknown start of token: \u{2026}
 --> <stdin>:1:72
  |
1 | static MAP: &'static ::cssparser::phf::Map<&'static str, $ValueType> = …;
  |                                                                        ^

warning: Backing out of syntax highlighting
  |
  = note: You probably did not intend to render this as a rust code-block

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions