rust/tests/ui/issues/issue-21177.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
939 B
Plaintext
Raw Normal View History

error[E0391]: cycle detected when computing the bounds for type parameter `T`. see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information.
2018-12-25 15:56:47 +00:00
--> $DIR/issue-21177.rs:6:21
2018-07-15 21:11:54 +00:00
|
LL | fn foo<T: Trait<A = T::B>>() { }
| ^^^^
|
2023-07-13 02:59:01 +00:00
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
--> $DIR/issue-21177.rs:6:21
|
LL | fn foo<T: Trait<A = T::B>>() { }
| ^^^^
= note: ...which immediately requires computing the bounds for type parameter `T` again
2020-05-31 15:11:51 +00:00
note: cycle used when computing explicit predicates of `foo`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-21177.rs:6:21
2018-07-15 21:11:54 +00:00
|
LL | fn foo<T: Trait<A = T::B>>() { }
| ^^^^
2019-04-05 11:22:13 +00:00
error: aborting due to previous error
2018-07-15 21:11:54 +00:00
2019-04-05 11:22:13 +00:00
For more information about this error, try `rustc --explain E0391`.