diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-06-11 19:04:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-11 19:04:20 +0200 |
| commit | 8650df5dea7a27852a7fa6bd2585905abb521db7 (patch) | |
| tree | df7e39d8ffe113bd11f9cf75a54bec2157d219b8 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs | |
| parent | 6b418b307c0222ecceb3d82b46621a377b592c79 (diff) | |
| parent | ddacc671901359ef1cd95722af0ff23a7ca6e212 (diff) | |
| download | rust-8650df5dea7a27852a7fa6bd2585905abb521db7.tar.gz rust-8650df5dea7a27852a7fa6bd2585905abb521db7.zip | |
Rollup merge of #73230 - Amanieu:asm-unused2, r=petrochenkov
Suggest including unused asm arguments in a comment to avoid error We require all arguments to an `asm!` to be used in the template string, just like format strings. However in some cases (e.g. `black_box`) it may be desirable to have `asm!` arguments that are not used in the template string. Currently this is a hard error rather than a lint since `#[allow]` does not work on macros (#63221), so this PR suggests using the unused arguments in an asm comment as a workaround. r? @petrochenkov
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions
