fork/rust

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

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

master
1.6 KiB42 linesraw
1error[E0275]: overflow evaluating the requirement `SalsaStorage: RefUnwindSafe`
2  --> $DIR/cycle-cache-err-60010.rs:27:13
3   |
4LL |     _parse: <ParseQuery as Query<RootDatabase>>::Data,
5   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7note: required because it appears within the type `PhantomData<SalsaStorage>`
8  --> $SRC_DIR/core/src/marker.rs:LL:COL
9note: required because it appears within the type `Unique<SalsaStorage>`
10  --> $SRC_DIR/core/src/ptr/unique.rs:LL:COL
11note: required because it appears within the type `Box<SalsaStorage>`
12  --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
13note: required because it appears within the type `Runtime<RootDatabase>`
14  --> $DIR/cycle-cache-err-60010.rs:23:8
15   |
16LL | struct Runtime<DB: Database> {
17   |        ^^^^^^^
18note: required because it appears within the type `RootDatabase`
19  --> $DIR/cycle-cache-err-60010.rs:20:8
20   |
21LL | struct RootDatabase {
22   |        ^^^^^^^^^^^^
23note: required for `RootDatabase` to implement `SourceDatabase`
24  --> $DIR/cycle-cache-err-60010.rs:44:9
25   |
26LL | impl<T> SourceDatabase for T
27   |         ^^^^^^^^^^^^^^     ^
28LL | where
29LL |     T: RefUnwindSafe,
30   |        ------------- unsatisfied trait bound introduced here
31note: required for `ParseQuery` to implement `Query<RootDatabase>`
32  --> $DIR/cycle-cache-err-60010.rs:37:10
33   |
34LL | impl<DB> Query<DB> for ParseQuery
35   |          ^^^^^^^^^     ^^^^^^^^^^
36LL | where
37LL |     DB: SourceDatabase,
38   |         -------------- unsatisfied trait bound introduced here
39
40error: aborting due to previous error
41
42For more information about this error, try `rustc --explain E0275`.