summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/cycle-cache-err-60010.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/traits/cycle-cache-err-60010.stderr')
-rw-r--r--tests/ui/traits/cycle-cache-err-60010.stderr39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/ui/traits/cycle-cache-err-60010.stderr b/tests/ui/traits/cycle-cache-err-60010.stderr
new file mode 100644
index 000000000..eeee99760
--- /dev/null
+++ b/tests/ui/traits/cycle-cache-err-60010.stderr
@@ -0,0 +1,39 @@
+error[E0275]: overflow evaluating the requirement `SalsaStorage: RefUnwindSafe`
+ --> $DIR/cycle-cache-err-60010.rs:27:13
+ |
+LL | _parse: <ParseQuery as Query<RootDatabase>>::Data,
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+ = note: required because it appears within the type `PhantomData<SalsaStorage>`
+ = note: required because it appears within the type `Unique<SalsaStorage>`
+ = note: required because it appears within the type `Box<SalsaStorage>`
+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:44: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:37:10
+ |
+LL | impl<DB> Query<DB> for ParseQuery
+ | ^^^^^^^^^ ^^^^^^^^^^
+LL | where
+LL | DB: SourceDatabase,
+ | -------------- unsatisfied trait bound introduced here
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0275`.