1
Fork 0
rust/compiler/rustc_trait_selection/src
Jubilee 26f75a65d7
Rollup merge of #129343 - estebank:time-version, r=jieyouxu
Emit specific message for time<=0.3.35

```
error[E0282]: type annotations needed for `Box<_>`
  --> /home/gh-estebank/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
   = note: this is an inference error on `time` caused by a change in Rust 1.80.0; update `time` to version `>=0.3.36`
```

Partially mitigate the fallout from https://github.com/rust-lang/rust/issues/127343. Although the biggest benefit of this would have been if we had had this in 1.80 before it became stable, the long-tail of that change will be felt for a *long* time, so better late than never.

We can also emit an even more targeted error instead of this inference failure.
2024-08-28 19:12:50 -07:00
..
error_reporting Rollup merge of #129343 - estebank:time-version, r=jieyouxu 2024-08-28 19:12:50 -07:00
errors Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve Rollup merge of #128828 - lcnr:search-graph-11, r=compiler-errors 2024-08-14 21:43:07 +08:00
traits Implement RFC 3525. 2024-08-28 09:54:23 +02:00
errors.rs Emit specific message for time<0.3.35 inference failure 2024-08-28 22:53:02 +00:00
infer.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Emit specific message for time<0.3.35 inference failure 2024-08-28 22:53:02 +00:00
regions.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve.rs Rename a bunch of things 2024-06-21 12:32:05 -04:00