diff options
| author | Cerberuser <computers05@mail.ru> | 2019-05-24 12:09:33 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-24 12:09:33 +0700 |
| commit | 9be8b7edc90442f4b10dfd094f65d3f8a9cdf864 (patch) | |
| tree | 88c0a951056ea70fcb54e82bf0dd2d8fc814f567 /src/test/ui/thinlto | |
| parent | fd8e23c6b2902299cb76e89d868fbb84f48035ab (diff) | |
| download | rust-9be8b7edc90442f4b10dfd094f65d3f8a9cdf864.tar.gz rust-9be8b7edc90442f4b10dfd094f65d3f8a9cdf864.zip | |
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)
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions
