about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-15 07:44:47 +0200
committerGitHub <noreply@github.com>2021-10-15 07:44:47 +0200
commite2c28ad1e7c5f5fc74c6472c27c8f6adfebb5b8c (patch)
tree77ed2b72260b447bcaaf197ee555fb942084f5fb /compiler/rustc_codegen_gcc/example/alloc_example.rs
parent345d483e9573c2217f72e7a54e76ba1f99b4eb06 (diff)
parentd18502d6b347732a16dd45811d55111277802611 (diff)
downloadrust-e2c28ad1e7c5f5fc74c6472c27c8f6adfebb5b8c.tar.gz
rust-e2c28ad1e7c5f5fc74c6472c27c8f6adfebb5b8c.zip
Rollup merge of #89870 - tmandry:box-pin, r=estebank
Suggest Box::pin when Pin::new is used instead

This fixes an incorrect diagnostic.

**Based on #89390**; only the last commit is specific to this PR. "Ignore whitespace changes" also helps here.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions