diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-25 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-25 00:00:00 +0000 |
| commit | 22d3431221df2e9136d303d1762ea7afdded1b5e (patch) | |
| tree | 7968a31ba31fa97d8e9c569a39268f7654f1e560 /compiler/rustc_codegen_cranelift/src/optimize/code_layout.rs | |
| parent | 773ddbada7183b57928a1d2f5e0722b7f53a3bf7 (diff) | |
| download | rust-22d3431221df2e9136d303d1762ea7afdded1b5e.tar.gz rust-22d3431221df2e9136d303d1762ea7afdded1b5e.zip | |
Validate use of parameters in naked functions
* Reject use of parameters inside naked function body. * Reject use of patterns inside function parameters, to emphasize role of parameters a signature declaration (mirroring existing behaviour for function declarations) and avoid generating code introducing specified bindings.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/optimize/code_layout.rs')
0 files changed, 0 insertions, 0 deletions
