]> git.lizzy.rs Git - rust.git/commit
Suggest Box::pin when Pin::new is used instead
authorTyler Mandry <tmandry@gmail.com>
Wed, 13 Oct 2021 23:24:48 +0000 (23:24 +0000)
committerTyler Mandry <tmandry@gmail.com>
Thu, 14 Oct 2021 01:06:25 +0000 (01:06 +0000)
commitd18502d6b347732a16dd45811d55111277802611
tree34c26380e7f4a181099ed343118ecc3d94f722b4
parenta8558e9efabc6640e8c1b1c353e62c233624f616
Suggest Box::pin when Pin::new is used instead
compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs
src/test/ui/suggestions/expected-boxed-future-isnt-pinned.rs
src/test/ui/suggestions/expected-boxed-future-isnt-pinned.stderr