]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Rollup merge of #81972 - matthewjasper:hrtb-error-cleanup, r=nikomatsakis
authorDylan DPC <dylan.dpc@gmail.com>
Wed, 17 Feb 2021 22:51:18 +0000 (23:51 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Feb 2021 22:51:18 +0000 (23:51 +0100)
commitcdd93fd3e2f6fb03717db137196a371f6b5c55f7
treed444cd5b34cafeb6c60bd8addf309ac33ca51255
parentf79be2c6de6a2f1b002d3f1f3fd7d9ca2aa8905a
parentf852160a99721f89a6bc206bae337291c485069e
Rollup merge of #81972 - matthewjasper:hrtb-error-cleanup, r=nikomatsakis

Placeholder lifetime error cleanup

- Remove note of trait definition
- Avoid repeating the same self type
- Use original region names when possible
- Use this error kind more often
- Print closure signatures when they are suppose to implement `Fn*` traits

Works towards #57374

r? ```@nikomatsakis```