fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
594 B19 linesraw
1error[E0309]: the parameter type `A` may not live long enough
2  --> $DIR/regions-infer-bound-from-trait.rs:33:5
3   |
4LL |     check_bound(x, a)
5   |     ^^^^^^^^^^^^^^^^^
6   |
7   = help: consider adding an explicit lifetime bound `A: 'a`...
8
9error[E0309]: the parameter type `A` may not live long enough
10  --> $DIR/regions-infer-bound-from-trait.rs:37:5
11   |
12LL |     check_bound(x, a)
13   |     ^^^^^^^^^^^^^^^^^
14   |
15   = help: consider adding an explicit lifetime bound `A: 'a`...
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0309`.