2023-05-19 08:44:38 +00:00
|
|
|
error[E0275]: overflow evaluating the requirement `SalsaStorage: RefUnwindSafe`
|
2021-05-31 18:22:40 +00:00
|
|
|
--> $DIR/cycle-cache-err-60010.rs:27:13
|
2019-05-01 17:10:01 +00:00
|
|
|
|
|
2021-05-31 18:22:40 +00:00
|
|
|
LL | _parse: <ParseQuery as Query<RootDatabase>>::Data,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-05-01 17:10:01 +00:00
|
|
|
|
|
2023-05-19 08:44:38 +00:00
|
|
|
note: required because it appears within the type `PhantomData<SalsaStorage>`
|
|
|
|
--> $SRC_DIR/core/src/marker.rs:LL:COL
|
|
|
|
note: required because it appears within the type `Unique<SalsaStorage>`
|
|
|
|
--> $SRC_DIR/core/src/ptr/unique.rs:LL:COL
|
|
|
|
note: required because it appears within the type `Box<SalsaStorage>`
|
|
|
|
--> $SRC_DIR/alloc/src/boxed.rs:LL:COL
|
|
|
|
note: required because it appears within the type `Runtime<RootDatabase>`
|
|
|
|
--> $DIR/cycle-cache-err-60010.rs:23:8
|
|
|
|
|
|
|
|
|
LL | struct Runtime<DB: Database> {
|
|
|
|
| ^^^^^^^
|
|
|
|
note: required because it appears within the type `RootDatabase`
|
|
|
|
--> $DIR/cycle-cache-err-60010.rs:20:8
|
|
|
|
|
|
|
|
|
LL | struct RootDatabase {
|
|
|
|
| ^^^^^^^^^^^^
|
2022-08-15 20:31:37 +00:00
|
|
|
note: required for `RootDatabase` to implement `SourceDatabase`
|
2023-10-26 11:36:49 +00:00
|
|
|
--> $DIR/cycle-cache-err-60010.rs:43:9
|
2021-08-27 22:34:48 +00:00
|
|
|
|
|
|
|
|
LL | impl<T> SourceDatabase for T
|
|
|
|
| ^^^^^^^^^^^^^^ ^
|
2023-01-11 03:21:11 +00:00
|
|
|
LL | where
|
|
|
|
LL | T: RefUnwindSafe,
|
|
|
|
| ------------- unsatisfied trait bound introduced here
|
2022-08-15 20:31:37 +00:00
|
|
|
note: required for `ParseQuery` to implement `Query<RootDatabase>`
|
2023-10-26 11:36:49 +00:00
|
|
|
--> $DIR/cycle-cache-err-60010.rs:36:10
|
2021-03-30 20:37:30 +00:00
|
|
|
|
|
2021-05-31 18:22:40 +00:00
|
|
|
LL | impl<DB> Query<DB> for ParseQuery
|
|
|
|
| ^^^^^^^^^ ^^^^^^^^^^
|
2023-01-11 03:21:11 +00:00
|
|
|
LL | where
|
|
|
|
LL | DB: SourceDatabase,
|
|
|
|
| -------------- unsatisfied trait bound introduced here
|
2019-05-01 17:10:01 +00:00
|
|
|
|
2023-10-26 11:36:49 +00:00
|
|
|
error[E0275]: overflow evaluating the requirement `SalsaStorage: RefUnwindSafe`
|
|
|
|
--> $DIR/cycle-cache-err-60010.rs:32:20
|
|
|
|
|
|
|
|
|
LL | type Storage = SalsaStorage;
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: required because it appears within the type `PhantomData<SalsaStorage>`
|
|
|
|
--> $SRC_DIR/core/src/marker.rs:LL:COL
|
|
|
|
note: required because it appears within the type `Unique<SalsaStorage>`
|
|
|
|
--> $SRC_DIR/core/src/ptr/unique.rs:LL:COL
|
|
|
|
note: required because it appears within the type `Box<SalsaStorage>`
|
|
|
|
--> $SRC_DIR/alloc/src/boxed.rs:LL:COL
|
|
|
|
note: required because it appears within the type `Runtime<RootDatabase>`
|
|
|
|
--> $DIR/cycle-cache-err-60010.rs:23:8
|
|
|
|
|
|
|
|
|
LL | struct Runtime<DB: Database> {
|
|
|
|
| ^^^^^^^
|
|
|
|
note: required because it appears within the type `RootDatabase`
|
|
|
|
--> $DIR/cycle-cache-err-60010.rs:20:8
|
|
|
|
|
|
|
|
|
LL | struct RootDatabase {
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
note: required for `RootDatabase` to implement `SourceDatabase`
|
|
|
|
--> $DIR/cycle-cache-err-60010.rs:43:9
|
|
|
|
|
|
|
|
|
LL | impl<T> SourceDatabase for T
|
|
|
|
| ^^^^^^^^^^^^^^ ^
|
|
|
|
LL | where
|
|
|
|
LL | T: RefUnwindSafe,
|
|
|
|
| ------------- unsatisfied trait bound introduced here
|
|
|
|
note: required for `ParseQuery` to implement `Query<RootDatabase>`
|
|
|
|
--> $DIR/cycle-cache-err-60010.rs:36:10
|
|
|
|
|
|
|
|
|
LL | impl<DB> Query<DB> for ParseQuery
|
|
|
|
| ^^^^^^^^^ ^^^^^^^^^^
|
|
|
|
LL | where
|
|
|
|
LL | DB: SourceDatabase,
|
|
|
|
| -------------- unsatisfied trait bound introduced here
|
|
|
|
note: required because it appears within the type `SalsaStorage`
|
|
|
|
--> $DIR/cycle-cache-err-60010.rs:26:8
|
|
|
|
|
|
|
|
|
LL | struct SalsaStorage {
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
note: required by a bound in `Database::Storage`
|
|
|
|
--> $DIR/cycle-cache-err-60010.rs:7:5
|
|
|
|
|
|
|
|
|
LL | type Storage;
|
|
|
|
| ^^^^^^^^^^^^^ required by this bound in `Database::Storage`
|
|
|
|
help: consider relaxing the implicit `Sized` restriction
|
|
|
|
|
|
|
|
|
LL | type Storage: ?Sized;
|
|
|
|
| ++++++++
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2019-05-01 17:10:01 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0275`.
|