]> git.proxmox.com Git - rustc.git/blame - src/test/ui/where-clauses/where-for-self-2.stderr
New upstream version 1.30.0~beta.7+dfsg1
[rustc.git] / src / test / ui / where-clauses / where-for-self-2.stderr
CommitLineData
b7449926
XL
1error[E0277]: the trait bound `for<'a> &'a _: Bar` is not satisfied
2 --> $DIR/where-for-self-2.rs:31:5
3 |
4LL | foo(&X);
5 | ^^^ the trait `for<'a> Bar` is not implemented for `&'a _`
6 |
7 = help: the following implementations were found:
8 <&'static u32 as Bar>
9note: required by `foo`
10 --> $DIR/where-for-self-2.rs:26:1
11 |
12LL | / fn foo<T>(x: &T)
13LL | | where for<'a> &'a T: Bar
14LL | | {}
15 | |__^
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0277`.