Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upno_run doctests no longer verify lints #31576
Comments
This comment has been minimized.
This comment has been minimized.
|
er, that r? was meant to be a cc |
This comment has been minimized.
This comment has been minimized.
|
Tagging as a regression and nominating |
alexcrichton
referenced this issue
Feb 11, 2016
Merged
Remove an unused #![feature] in a doctest #31575
This comment has been minimized.
This comment has been minimized.
|
The borrow checker also does not seem to operate on //! ```no_run
//! fn main() {
//! let mut s = "hello".to_owned();
//! let ref1 = &mut s;
//! let ref2 = &mut s;
//! }
//! ```Will pass the Doc-tests. |
This comment has been minimized.
This comment has been minimized.
|
@crumblingstatue 's error does not happen on
so it must have happened recently. |
This comment has been minimized.
This comment has been minimized.
|
@steveklabnik |
This comment has been minimized.
This comment has been minimized.
|
I meant that the test fails, sorry. I cannot reproduce the bug. On Mar 10, 2016, 15:35 +0100, Mika Attilanotifications@github.com, wrote:
|
This comment has been minimized.
This comment has been minimized.
|
Just to show a real life case, and the fact that this is not just an anomaly on my local system, here is a travis build of a project that passes on both beta and nightly, but fails (properly) on stable. https://travis-ci.org/jeremyletang/rust-sfml/builds/115021280 |
This comment has been minimized.
This comment has been minimized.
|
@nrc, any thoughts? |
nikomatsakis
added
the
T-compiler
label
Apr 7, 2016
This comment has been minimized.
This comment has been minimized.
|
tagging with T-compiler just so we can review in compiler mtg, even though it's sort of more tools. |
nikomatsakis
assigned
nrc
Apr 7, 2016
nrc
added
P-high
and removed
I-nominated
labels
Apr 7, 2016
This comment has been minimized.
This comment has been minimized.
|
triage: P-high |
rust-highfive
added
P-high
and removed
P-high
labels
Apr 7, 2016
This comment has been minimized.
This comment has been minimized.
|
Bisection-via-nightly turns up 2016-02-01 was the last good and 2016-02-02 is the first bad. This points to some commit between 094c5b0 and b94cd7a, of which the most suspect is #31250. This line looks quite suspect, returning that there are 0 errors when Ok so after writing all that up I tested it out and I'll just make a PR soon. |
alexcrichton commentedFeb 11, 2016
For code like this:
The stable/beta rustdoc will generate an error, while the nightly rustdoc will pass silently. This block looks suspicious perhaps?
r?cc @nrc