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
Right now a should_fail doc test will succeed if either compilation fails or the test itself fails. The purpose of testing documentation is to fight bitrot, and if we're succeeding on bitrot, that's not too useful.
Rustdoc should always fail if compilation fails, and it should then fail or succeed depending on the result of the test itself and the presence of the should_fail attribute.
The text was updated successfully, but these errors were encountered:
Add `waker_clone_and_wake` lint to check needless `Waker` clones
Check for patterns of `waker.clone().wake()` and replace them with `waker.wake_by_ref()`.
An alternative name could be `waker_clone_then_wake`
changelog: [ `waker_clone_wake`]: new lint
Right now a
should_fail
doc test will succeed if either compilation fails or the test itself fails. The purpose of testing documentation is to fight bitrot, and if we're succeeding on bitrot, that's not too useful.Rustdoc should always fail if compilation fails, and it should then fail or succeed depending on the result of the test itself and the presence of the
should_fail
attribute.The text was updated successfully, but these errors were encountered: