diff options
| author | Adam Ransom <v0id.gmr@gmail.com> | 2017-03-21 21:38:32 +0900 |
|---|---|---|
| committer | Adam Ransom <v0id.gmr@gmail.com> | 2017-03-25 10:47:19 +0900 |
| commit | e7949d0013bb8b45c884b173ca22c20e6899d612 (patch) | |
| tree | 27f11544a66ed4473441cc1e50d07c8b6a0d5887 /src/rustllvm/RustWrapper.cpp | |
| parent | 1ae1a19ba6156479969f493c8e05871539e69b52 (diff) | |
| download | rust-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
