fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
700 B17 linesraw
1error[E0391]: cycle detected when computing the bounds for type parameter `T`
2  --> $DIR/issue-21177.rs:6:21
3   |
4LL | fn foo<T: Trait<A = T::B>>() { }
5   |                     ^^^^
6   |
7   = note: ...which immediately requires computing the bounds for type parameter `T` again
8note: cycle used when computing explicit predicates of `foo`
9  --> $DIR/issue-21177.rs:6:21
10   |
11LL | fn foo<T: Trait<A = T::B>>() { }
12   |                     ^^^^
13   = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0391`.