rust-analyzer/crates/syntax
bors 0ba6f4eda0 Auto merge of #17676 - winstxnhdw:precise-capturing, r=Veykril
feat: add preliminary support for `+ use<..>` `precise_capturing` syntax

## Summary

This PR adds basic support for the following syntax.

```rs
fn captures<'a: 'a, 'b: 'b, T>() -> impl Sized + use<'b, T> {}
//                                  ~~~~~~~~~~~~~~~~~~~~~~~
//                          This opaque type does not capture `'a`.

fn outlives<'o, T: 'o>(_: T) {}

fn caller<'o, 'a, 'b: 'o, T: 'o>() {
    //        ~~
    //        ^ Note that we don't need `'a: 'o`.
    outlives::<'o>(captures::<'a, 'b, T>());
}
```

Related to #17598
2024-07-25 11:10:56 +00:00
..
fuzz Bump Cargo.lock 2024-05-14 10:57:02 +02:00
src Auto merge of #17676 - winstxnhdw:precise-capturing, r=Veykril 2024-07-25 11:10:56 +00:00
test_data Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
Cargo.toml Add f16 and f128 support 2024-07-10 10:43:14 +01:00
rust.ungram fix: use cannot have optional generics 2024-07-24 10:42:20 +01:00