about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-25 21:22:46 +0000
committerbors <bors@rust-lang.org>2020-11-25 21:22:46 +0000
commitb48cafd9eb658b5d74015ddbe5335c3842a03a63 (patch)
tree1f5c6c21bb595b79533e20daf7c8496baabdb30a /compiler/rustc_codegen_cranelift/example/example.rs
parent192c7dbb6dbd0b2c176101ed2fe785901b2a457d (diff)
parent22d3431221df2e9136d303d1762ea7afdded1b5e (diff)
downloadrust-b48cafd9eb658b5d74015ddbe5335c3842a03a63.tar.gz
rust-b48cafd9eb658b5d74015ddbe5335c3842a03a63.zip
Auto merge of #79411 - tmiasko:naked-params, r=Amanieu
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.

Closes issues below by considering input to be ill-formed.

Closes #75922.
Closes #77848.
Closes #79350.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/example.rs')
0 files changed, 0 insertions, 0 deletions