about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-06-23 00:06:54 +0000
committerbors <bors@rust-lang.org>2018-06-23 00:06:54 +0000
commitf9686334ac0c71e1f2137d44f7e471292c1251da (patch)
tree8978bd8fd74ae24c2f382ca35c4d53cf51a59bc9 /src/rustllvm/PassWrapper.cpp
parentb0e41f103873908c82b86513e4698beae99d3576 (diff)
parent973baaa5b2f91876e1304272fffdea2d0679554f (diff)
downloadrust-f9686334ac0c71e1f2137d44f7e471292c1251da.tar.gz
rust-f9686334ac0c71e1f2137d44f7e471292c1251da.zip
Auto merge of #51697 - estebank:once-used-lifetime-label, r=oli-obk
Add label to lint for lifetimes used once

```
error: lifetime parameter `'a` only used once
  --> $DIR/fn-types.rs:19:10
   |
LL |   a: for<'a> fn(&'a u32), //~ ERROR `'a` only used once
   |          ^^      -- ...is used only here
   |          |
   |          this lifetime...
```
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions