diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-22 16:02:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-22 16:02:26 +0200 |
| commit | 706dc7091628735e29c9061df6ecfdb38c55b651 (patch) | |
| tree | ccc5b6dcc93e9359ce03e6e6cd3508573db65b02 /tests/ui/error-codes | |
| parent | 4c6aee567df528e7861a6949150fcc6351358007 (diff) | |
| parent | c57ef293eb5c628b5a96253868c4ca171416780a (diff) | |
| download | rust-706dc7091628735e29c9061df6ecfdb38c55b651.tar.gz rust-706dc7091628735e29c9061df6ecfdb38c55b651.zip | |
Rollup merge of #139668 - matthewjasper:upper-bound-fix, r=compiler-errors
Handle regions equivalent to 'static in non_local_bounds `non_local_bounds` would only find non local bounds that strictly bound a given region, but it's possible that a local region is equated to 'static when showing a type referencing a locally bound lifetime, such as `dyn Any + 'a` in the tests added, is well-formed. In this case we should return 'static. closes #122704 closes #139004
Diffstat (limited to 'tests/ui/error-codes')
0 files changed, 0 insertions, 0 deletions
