]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/cycle-cache-err-60010.stderr
f439de88261179519c417e62ca90f271501cde97
[rust.git] / src / test / ui / traits / cycle-cache-err-60010.stderr
1 error[E0275]: overflow evaluating the requirement `RootDatabase: SourceDatabase`
2   --> $DIR/cycle-cache-err-60010.rs:27:5
3    |
4 LL |     _parse: <ParseQuery as Query<RootDatabase>>::Data,
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: required because of the requirements on the impl of `Query<RootDatabase>` for `ParseQuery`
8
9 error[E0275]: overflow evaluating the requirement `RootDatabase: SourceDatabase`
10   --> $DIR/cycle-cache-err-60010.rs:31:5
11    |
12 LL |     type Storage;
13    |          ------- associated type defined here
14 ...
15 LL | impl Database for RootDatabase {
16    | ------------------------------ in this `impl` item
17 LL |     type Storage = SalsaStorage;
18    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19    |
20    = note: required because of the requirements on the impl of `Query<RootDatabase>` for `ParseQuery`
21    = note: required because it appears within the type `SalsaStorage`
22
23 error: aborting due to 2 previous errors
24
25 For more information about this error, try `rustc --explain E0275`.