]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-21177.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-21177.stderr
CommitLineData
8faf50e0 1error[E0391]: cycle detected when computing the bounds for type parameter `T`
0731742a 2 --> $DIR/issue-21177.rs:6:21
8faf50e0
XL
3 |
4LL | fn foo<T: Trait<A = T::B>>() { }
5 | ^^^^
6 |
94222f64 7 = note: ...which immediately requires computing the bounds for type parameter `T` again
f9f354fc 8note: cycle used when computing explicit predicates of `foo`
0731742a 9 --> $DIR/issue-21177.rs:6:21
8faf50e0
XL
10 |
11LL | fn foo<T: Trait<A = T::B>>() { }
12 | ^^^^
13
dc9dc135 14error: aborting due to previous error
8faf50e0 15
dc9dc135 16For more information about this error, try `rustc --explain E0391`.