about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-11-07 15:52:12 +0800
committerkennytm <kennytm@gmail.com>2017-11-07 22:40:16 +0800
commit4b2a5da8c9626010e4d065e0e5722084fab70ae1 (patch)
tree21719860de55c5fb23e60d5ae70f7fd555c32509 /src/test/incremental/thinlto
parentd8238e431445a3b2075496a0e73753209df83f92 (diff)
parentce2768ab95cbac4c4b918c9f382cd5316e286a7a (diff)
downloadrust-4b2a5da8c9626010e4d065e0e5722084fab70ae1.tar.gz
rust-4b2a5da8c9626010e4d065e0e5722084fab70ae1.zip
Rollup merge of #45764 - QuietMisdreavus:rustdoc-doctest-lints, r=GuillaumeGomez
rustdoc: add #[allow(unused)] to every doctest

More information in #45750 - this is behavior that was documented but not actually implemented.

I also reordered how outer attributes are applied to doctests. Previously, attributes from `#![doc(test(attr(...)))]` would be applied *after* attributes from within the test itself, meaning if a doctest tried to override lints that would be set crate-wide, it wouldn't work at all. This gives a better scope of how lints can be applied.

Closes #45750
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions