Michael Goulet
|
d525e79157
|
Stall coroutines based off of ty::Coroutine, not ty::CoroutineWitness
|
2025-07-31 17:31:51 +00:00 |
|
Esteban Küber
|
d860e5b088
|
Mention type parameter in more cases and don't suggest ~const bound already there
|
2024-12-07 21:37:13 +00:00 |
|
Esteban Küber
|
3f2a63a68b
|
Use trait name instead of full constraint in suggestion message
```
help: consider restricting type parameter `T` with traits `Copy` and `Trait`
|
LL | fn duplicate_custom<T: Copy + Trait>(t: S<T>) -> (S<T>, S<T>) {
| ++++++++++++++
```
```
help: consider restricting type parameter `V` with trait `Copy`
|
LL | fn index<'a, K, V: std::marker::Copy>(map: &'a HashMap<K, V>, k: K) -> &'a V {
| +++++++++++++++++++
```
|
2024-12-07 21:29:58 +00:00 |
|
Esteban Küber
|
d13c34828e
|
reword trait bound suggestion message to include the bounds
|
2024-12-07 21:26:20 +00:00 |
|
Michael Goulet
|
789ee88bd0
|
Tighten spans for async blocks
|
2024-06-27 15:19:08 -04:00 |
|
Nilstrieb
|
41e8d152dc
|
Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
|
2023-11-24 19:15:52 +01:00 |
|
Camille GILLOT
|
a626caaad9
|
Revert duplication of tests.
|
2023-09-23 13:34:07 +00:00 |
|
Camille GILLOT
|
9259da51ed
|
Test the 3 generator handling versions for generator/async tests.
|
2023-01-27 18:58:13 +00:00 |
|
Albert Larsan
|
cf2dff2b1e
|
Move /src/test to /tests
|
2023-01-11 09:32:08 +00:00 |
|