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
#!/bin/bash
cargo new broken
cd broken
echo'pub struct Somestruct;impl Somestruct { /** Documentation `and` the failing part of it. */ pub fn somefn() { println!("works"); }}'>> src/lib.rs
cargo doc
results in:
<stdin>:1:4: 1:5 error: unknown start of token: `
<stdin>:1 `and` the failing part of it.
^
thread '<unnamed>' panicked at 'Box<Any>', ../src/libsyntax/parse/lexer/mod.rs:1437
stack backtrace:
1: 0x7f9028126d50 - <unknown>
Could not document `broken`.
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
Fails with both 1.7 and nightly 2016-04-07
Reproducible: Always
reproducible with
results in:
The text was updated successfully, but these errors were encountered: