about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-03-06 12:22:25 -0500
committerGitHub <noreply@github.com>2025-03-06 12:22:25 -0500
commit1458b3560f3dfb7ace3bdc8978f7315bfbe4b50e (patch)
tree6ff1aa32dca0925751f65233564770ccc555af46 /compiler/rustc_parse/src/errors.rs
parent38b48203af126edd53d81edaf19e46d38f5936f7 (diff)
parente213f4beeabbb2604565a8e9324f66c5c72780c6 (diff)
downloadrust-1458b3560f3dfb7ace3bdc8978f7315bfbe4b50e.tar.gz
rust-1458b3560f3dfb7ace3bdc8978f7315bfbe4b50e.zip
Rollup merge of #137910 - compiler-errors:async-fn-goal-error, r=oli-obk
Improve error message for `AsyncFn` trait failure for RPIT

Use a `WellFormedDerived` obligation cause to make sure we can turn an `AsyncFnKindHelper` trait goal into its parent `AsyncFn*` goal, then fix the logic for reporting `AsyncFn*` kind mismatches.

Best reviewed without whitespace.

Fixes #137905

r? oli-obk
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions