diff options
| author | kennytm <kennytm@gmail.com> | 2018-09-12 12:17:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-12 12:17:37 +0800 |
| commit | 28890152fee5cbf7c6140d56dde837080354bd25 (patch) | |
| tree | fc7e0acdd59030836f0e38730b5feb44cad70cb3 /src/rustllvm/RustWrapper.cpp | |
| parent | 40d9740fe841c72516c147136d4114a36c1ce8af (diff) | |
| parent | c549e656aa9b32c1c81ffdb94d2c32269d263ebe (diff) | |
| download | rust-28890152fee5cbf7c6140d56dde837080354bd25.tar.gz rust-28890152fee5cbf7c6140d56dde837080354bd25.zip | |
Rollup merge of #54106 - flip1995:pub_checklintnameresult, r=Manishearth
Reexport CheckLintNameResult Make the enum `CheckLintNameResult` public, so that lint tools (aka Clippy) can use it together with [`LintStore::check_lint_name`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/struct.LintStore.html#method.check_lint_name), to handle the case that a scoped `tool_lint` doesn't exist in the tool. This is currently not handled by the compiler: https://github.com/rust-lang/rust/blob/595345419d12c3ea860151df52f78744a31bafff/src/librustc/lint/levels.rs#L309-L314 Needed for rust-lang-nursery/rust-clippy#3161 r? @Manishearth
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
