about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-25 04:55:34 +0200
committerGitHub <noreply@github.com>2019-05-25 04:55:34 +0200
commit65ddf284b6188b35cc1e5e65c27ebf30a63c5fee (patch)
tree27e8d2ea1fdd85795cfb7c69fb302cc20e6be36f /src/test/ui/thinlto
parentf8b3ebea6f787b558977ce0538a3d4757e8dfe6a (diff)
parent9be8b7edc90442f4b10dfd094f65d3f8a9cdf864 (diff)
downloadrust-65ddf284b6188b35cc1e5e65c27ebf30a63c5fee.tar.gz
rust-65ddf284b6188b35cc1e5e65c27ebf30a63c5fee.zip
Rollup merge of #61111 - Cerberuser:patch-1, r=steveklabnik
Fixed type-alias-bounds lint doc

The example code under type-alias-bounds lint produced two warnings - one from the lint itself and another from the dead_code lint, and only the second one was in the doc. This looked like an error, so I've added `#[allow(dead_code)]` and replaced the example output with the expected one.

[Playground](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&code=%23%5Ballow(dead_code)%5D%0Atype%20SendVec%3CT%3A%20Send%3E%20%3D%20Vec%3CT%3E%3B)

According to guidelines,
r? @steveklabnik
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions