about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-16 16:25:22 +0000
committerbors <bors@rust-lang.org>2024-02-16 16:25:22 +0000
commit0932f895867607a5f4767877d811fd43508a02b1 (patch)
treef88ffd4fa5b70fd43da12675355fcb9d84d1189c /compiler/rustc_hir_analysis/src
parent25d12673db9e183fe8abb0dd91513c6c10cdb4ba (diff)
parent36020bb51253fbe098450ddd8112cd939e1ca473 (diff)
downloadrust-0932f895867607a5f4767877d811fd43508a02b1.tar.gz
rust-0932f895867607a5f4767877d811fd43508a02b1.zip
Auto merge of #16588 - compiler-errors:async-and-const-bounds, r=Veykril
internal: Parse (nightly) `const` and `async` trait bounds

Both of these bound modifiers were added recently:

* `const` trait bounds: https://github.com/rust-lang/rust/pull/119099
* `async` trait bounds: https://github.com/rust-lang/rust/pull/120392

The latter will certainly will not do the right thing; namely, `async Fn` needs to be mapped to the `AsyncFn` trait. IDK how to do that, so advice would be appreciated, though perhaps we could land this first so the parser isn't complaining about these bounds?
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions