diff options
| author | bors <bors@rust-lang.org> | 2019-07-09 15:28:26 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-07-09 15:28:26 +0000 |
| commit | 032ae968560e78708f40f2fdd5ce95775daec836 (patch) | |
| tree | e38e5cd6aada142b597e821363c708a6b10a7253 /src/test/incremental/thinlto | |
| parent | f0d217026ab511c88c4d8fb97d2a5dae50da8800 (diff) | |
| parent | aa72cac87a81d4a0a87d90c0e0c9f5b94d1a93f6 (diff) | |
| download | rust-032ae968560e78708f40f2fdd5ce95775daec836.tar.gz rust-032ae968560e78708f40f2fdd5ce95775daec836.zip | |
Auto merge of #4257 - skade:improve-cast-alignment, r=flip1995
Improve cast_ptr_alignment lint <!-- Thank you for making Clippy better! We're collecting our changelog from pull request descriptions. If your PR only updates to the latest nightly, you can leave the `changelog` entry as `none`. Otherwise, please write a short comment explaining your change. If your PR fixes an issue, you can add "fixes #issue_number" into this PR description. This way the issue will be automatically closed when your PR is merged. If you added a new lint, here's a checklist for things that will be checked during review or continuous integration. - [x] Followed [lint naming conventions][lint_naming] - [x] Added passing UI tests (including committed `.stderr` file) - [x] `cargo test` passes locally - [x] Executed `util/dev update_lints` - [x] Added lint documentation - [x] Run `cargo fmt` Note that you can skip the above if you are just opening a WIP PR in order to get feedback. Delete this line and everything above before opening your PR --> * print alignment in bytes in the lint message * ignore ZST left-hand types Fixes #3797 and #4256 changelog: * `cast_ptr_alignment`: Print alignment in bytes in the lint message * `cast_ptr_alignment`: Ignore casting from ZST left-hand types
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
