about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-12-15 14:47:33 +0100
committerGitHub <noreply@github.com>2018-12-15 14:47:33 +0100
commite92d9202699b36c59ec644528833a7b27b14a085 (patch)
tree4a9b39bd83822b2652034fb83745258441d17ae3 /src/test/incremental/thinlto
parent0a1b2267e45ed0a5bdbfcbe522024729c8bd1387 (diff)
parent3246f495d0c52549ca2f3722a915360518f0c062 (diff)
downloadrust-e92d9202699b36c59ec644528833a7b27b14a085.tar.gz
rust-e92d9202699b36c59ec644528833a7b27b14a085.zip
Rollup merge of #56677 - aelred:must-use-on-traits, r=estebank
#[must_use] on traits in stdlib

Based on #55506.

Adds `#[must_use]` attribute to traits in the stdlib:
- `Iterator`
- `Future`
- `FnOnce`
- `Fn`
- `FnMut`

There may be other traits that should have the attribute, but I couldn't find/think of any.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions