about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/tests/common/mod.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-05-30 01:12:37 +0200
committerGitHub <noreply@github.com>2024-05-30 01:12:37 +0200
commit1ae1388d2a34875bf01da05814e7dc8d1edde7c2 (patch)
tree2d99ed0276ae01bc9dc5a8099e7417f7c159ebde /compiler/rustc_pattern_analysis/tests/common/mod.rs
parenta34d0f13705c1624fe6eef4f2dc643d32e5940d7 (diff)
parenta03ba7fd2d0a94bd29f1ed7618c6e7ceecd3222c (diff)
downloadrust-1ae1388d2a34875bf01da05814e7dc8d1edde7c2.tar.gz
rust-1ae1388d2a34875bf01da05814e7dc8d1edde7c2.zip
Rollup merge of #125733 - compiler-errors:async-fn-assoc-item, r=fmease
Add lang items for `AsyncFn*`, `Future`, `AsyncFnKindHelper`'s associated types

Adds lang items for `AsyncFnOnce::Output`, `AsyncFnOnce::CallOnceFuture`, `AsyncFnMut::CallRefFuture`, and uses them in the new solver. I'm mostly interested in doing this to help accelerate uplifting the new trait solver into a separate crate.

The old solver is kind of spaghetti, so I haven't moved that to use these lang items (i.e. it still uses `item_name`-based comparisons).

update: Also adds lang items for `Future::Output` and `AsyncFnKindHelper::Upvars`.

cc ``@lcnr``
Diffstat (limited to 'compiler/rustc_pattern_analysis/tests/common/mod.rs')
0 files changed, 0 insertions, 0 deletions