about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAdam Ransom <v0id.gmr@gmail.com>2017-03-21 21:38:32 +0900
committerAdam Ransom <v0id.gmr@gmail.com>2017-03-25 10:47:19 +0900
commite7949d0013bb8b45c884b173ca22c20e6899d612 (patch)
tree27f11544a66ed4473441cc1e50d07c8b6a0d5887 /src/rustllvm/RustWrapper.cpp
parent1ae1a19ba6156479969f493c8e05871539e69b52 (diff)
downloadrust-e7949d0013bb8b45c884b173ca22c20e6899d612.tar.gz
rust-e7949d0013bb8b45c884b173ca22c20e6899d612.zip
Warn when using a `'static` lifetime bound
Previously a `'static` lifetime bound would result in an `undeclared
lifetime` error when compiling, even though it could be considered
valid.

However, it is unnecessary to use it as a lifetime bound so we present
the user with a warning instead and suggest using the `'static` lifetime
directly, in place of the lifetime parameter.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions