-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust 1.18 regression rustc-serialize doc tests have regressed #40994
Rust 1.18 regression rustc-serialize doc tests have regressed #40994
Comments
This is basically the same as #40979 hoedown treated this all as a In this case, the code block is invalid. The fix is to either fix that by removing line 352 (and then outdenting all the code), add a function header that accepts (I would also add a newline between 32 and 33; that's the whole reason it's ambiguous between implementations anyway, with a blank line, they treat them identically (and it would be the new behavior either way)) |
@steveklabnik sure yeah, but to put this in perspective: this is invalid TOML that Cargo still accepts with a warning and we even fix bugs in parsing as they arise to ensure we can keep parsing this. I think we should totally fix the markdown, but I don't think we should immediately start failing so many builds without warning. |
I've seen roughly 3 other instances of this so far, and they've all already been fixed. If there's a huge impact, I agree, but I haven't actually seen any evidence of that. |
It's a CI failure for rustc-serialize that does not affect anything that depends on rustc-serialize, so impact is very limited in that way |
Previously, hoedown did not understand that this was an example. pulldown-cmark does. This fixes the example to be compile-able. Fixes rust-lang/rust#40994
Fix sent: rust-lang-deprecated/rustc-serialize#182 |
https://ci.appveyor.com/project/alexcrichton/rustc-serialize/build/1.0.563/job/s4vnewjo4l4448j2
Likely related to #40912
The text was updated successfully, but these errors were encountered: