diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-02 07:24:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 07:24:00 +0100 |
commit | c9c9283c6aa98cc312845fe505af552b0abc8629 (patch) | |
tree | 1a4df50d02ac82d33dec67843af34c6c183d3018 /tests/rustdoc-js-std/parser-errors.js | |
parent | 864b6258fc7b493aec01f980b31ff23901c0edae (diff) | |
parent | d84576955713d223c0c4752dab9111085033c78b (diff) | |
download | rust-c9c9283c6aa98cc312845fe505af552b0abc8629.tar.gz |
Rollup merge of #108516 - clubby789:rustc-box-restrict, r=compiler-errors
Restrict `#[rustc_box]` to `Box::new` calls
Currently, `#[rustc_box]` can be applied to any call expression with a single argument. This PR only allows it to be applied to calls to `Box::new`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions