]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/cycle-cache-err-60010.stderr
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / traits / cycle-cache-err-60010.stderr
1 error[E0275]: overflow evaluating the requirement `SalsaStorage: RefUnwindSafe`
2   --> $DIR/cycle-cache-err-60010.rs:27:13
3    |
4 LL |     _parse: <ParseQuery as Query<RootDatabase>>::Data,
5    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: required because it appears within the type `PhantomData<SalsaStorage>`
8    = note: required because it appears within the type `Unique<SalsaStorage>`
9    = note: required because it appears within the type `Box<SalsaStorage>`
10 note: required because it appears within the type `Runtime<RootDatabase>`
11   --> $DIR/cycle-cache-err-60010.rs:23:8
12    |
13 LL | struct Runtime<DB: Database> {
14    |        ^^^^^^^
15 note: required because it appears within the type `RootDatabase`
16   --> $DIR/cycle-cache-err-60010.rs:20:8
17    |
18 LL | struct RootDatabase {
19    |        ^^^^^^^^^^^^
20 note: required for `RootDatabase` to implement `SourceDatabase`
21   --> $DIR/cycle-cache-err-60010.rs:44:9
22    |
23 LL | impl<T> SourceDatabase for T
24    |         ^^^^^^^^^^^^^^     ^
25 LL | where
26 LL |     T: RefUnwindSafe,
27    |        ------------- unsatisfied trait bound introduced here
28 note: required for `ParseQuery` to implement `Query<RootDatabase>`
29   --> $DIR/cycle-cache-err-60010.rs:37:10
30    |
31 LL | impl<DB> Query<DB> for ParseQuery
32    |          ^^^^^^^^^     ^^^^^^^^^^
33 LL | where
34 LL |     DB: SourceDatabase,
35    |         -------------- unsatisfied trait bound introduced here
36
37 error: aborting due to previous error
38
39 For more information about this error, try `rustc --explain E0275`.