]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/cycle-cache-err-60010.stderr
Auto merge of #83986 - Dylan-DPC:rollup-51vygcj, r=Dylan-DPC
[rust.git] / src / test / ui / traits / cycle-cache-err-60010.stderr
1 error[E0275]: overflow evaluating the requirement `SalsaStorage: RefUnwindSafe`
2   --> $DIR/cycle-cache-err-60010.rs:69:5
3    |
4 LL |     fn parse(&self) {
5    |     --------------- required by `SourceDatabase::parse`
6 ...
7 LL |     SourceDatabase::parse(db);
8    |     ^^^^^^^^^^^^^^^^^^^^^
9    |
10    = note: required because it appears within the type `*const SalsaStorage`
11    = note: required because it appears within the type `Unique<SalsaStorage>`
12    = note: required because it appears within the type `Box<SalsaStorage>`
13 note: required because it appears within the type `Runtime<RootDatabase>`
14   --> $DIR/cycle-cache-err-60010.rs:23:8
15    |
16 LL | struct Runtime<DB: Database> {
17    |        ^^^^^^^
18 note: required because it appears within the type `RootDatabase`
19   --> $DIR/cycle-cache-err-60010.rs:20:8
20    |
21 LL | struct RootDatabase {
22    |        ^^^^^^^^^^^^
23 note: required because of the requirements on the impl of `SourceDatabase` for `RootDatabase`
24   --> $DIR/cycle-cache-err-60010.rs:43:9
25    |
26 LL | impl<T> SourceDatabase for T
27    |         ^^^^^^^^^^^^^^     ^
28
29 error: aborting due to previous error
30
31 For more information about this error, try `rustc --explain E0275`.