diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-10-13 09:41:27 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-13 09:41:27 +0900 |
| commit | 18b1342f236cac3893ecbf7fba0848e612e075a9 (patch) | |
| tree | 0c631efb589512ec6da4cc0b24ff0c64f397124f /compiler/rustc_codegen_llvm/src | |
| parent | 36ea7cd88c91547204d5f8e9016ee7a07890117c (diff) | |
| parent | c278700af4bf75547e0b796fb56b489ad5b72046 (diff) | |
| download | rust-18b1342f236cac3893ecbf7fba0848e612e075a9.tar.gz rust-18b1342f236cac3893ecbf7fba0848e612e075a9.zip | |
Rollup merge of #102971 - est31:tidy_duplicate_lang_features, r=jyn514
tidy: error if a lang feature is already present If a lang feature gets declared twice, like for example as a result of a mistake during stabilization, emit an error in tidy. Library features already have this logic. Inspired by a mistake done during `half_open_range_patterns` stabilization: https://github.com/rust-lang/rust/pull/102275/files#r991292215 The PR requires #102883 to be merged before CI turns green because the check is doing its job. For reviewers, I suggest [turning off whitespace changes](https://github.com/rust-lang/rust/pull/102971/files?w=1) in the diff by adding `?w=1` to the url, as a large part of the diff is just about removing one level of indentation.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
