Files
rust/compiler
Matthias Krüger a6bf68d8d0 Rollup merge of #113578 - compiler-errors:uncallable-sig, r=b-naber
Don't say that a type is uncallable if its fn signature has errors in it

This is fallout from #106309, where we don't consider param-env candidates that reference errors because they unify with everything. This means, however, that we don't consider an APIT like `impl Fn(MissingType)` isn't considered to implement `Fn`, for example.

We can double-check that with a weaker heuristic [`extract_callable_info`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir_typeck/fn_ctxt/struct.FnCtxt.html#method.extract_callable_info), and suppress the knock-down error using that.

Fixes #113566
2023-07-25 23:34:07 +02:00
..
2023-07-23 23:39:04 +02:00
2023-05-02 10:45:16 -07:00
2023-07-23 09:48:07 +02:00
2023-07-03 07:20:51 +00:00
2023-07-23 23:39:04 +02:00
2023-07-02 21:02:31 +02:00
2023-07-19 16:37:09 +00:00
2023-07-24 18:04:35 +02:00
2023-07-03 13:51:54 -07:00
2023-07-24 00:17:45 -04:00
2023-07-25 16:08:58 +00:00