]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/cycle-cache-err-60010.stderr
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[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 |     SourceDatabase::parse(db);
5    |     ^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: required because it appears within the type `*const 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 because of the requirements on the impl of `SourceDatabase` for `RootDatabase`
21   --> $DIR/cycle-cache-err-60010.rs:43:9
22    |
23 LL | impl<T> SourceDatabase for T
24    |         ^^^^^^^^^^^^^^     ^
25 note: required by `SourceDatabase::parse`
26   --> $DIR/cycle-cache-err-60010.rs:14:5
27    |
28 LL |     fn parse(&self) {
29    |     ^^^^^^^^^^^^^^^
30
31 error: aborting due to previous error
32
33 For more information about this error, try `rustc --explain E0275`.