summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/new-solver/recursive-self-normalization.stderr
blob: 8e9b9b4b4cec33f829725544786b672f0ae21ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0275]: overflow evaluating the requirement `<T as Foo>::Assoc: Bar`
  --> $DIR/recursive-self-normalization.rs:11:5
   |
LL |     needs_bar::<T::Assoc>();
   |     ^^^^^^^^^^^^^^^^^^^^^
   |
   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`recursive_self_normalization`)
note: required by a bound in `needs_bar`
  --> $DIR/recursive-self-normalization.rs:8:17
   |
LL | fn needs_bar<S: Bar>() {}
   |                 ^^^ required by this bound in `needs_bar`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0275`.