]> git.lizzy.rs Git - rust.git/commit
Suggest a FnPtr type if a FnDef type is found
authorFabian Wolff <fabian.wolff@alumni.ethz.ch>
Fri, 11 Jun 2021 18:12:40 +0000 (20:12 +0200)
committerFabian Wolff <fabian.wolff@alumni.ethz.ch>
Fri, 11 Jun 2021 21:05:17 +0000 (23:05 +0200)
commit79dc9a76a6272dc2e080237de27406b1456d7c2c
treecfb55c16266afa3759733d73fbe883b6b499fb25
parentf687d5c43a0c90afba6d3fddab7665772bb0664a
Suggest a FnPtr type if a FnDef type is found
compiler/rustc_typeck/src/collect/type_of.rs
src/test/ui/suggestions/unnamable-types.rs
src/test/ui/suggestions/unnamable-types.stderr