]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-23305.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / resolve / issue-23305.stderr
1 error[E0391]: cycle detected when computing type of `<impl at $DIR/issue-23305.rs:5:1: 5:24>`
2   --> $DIR/issue-23305.rs:5:16
3    |
4 LL | impl dyn ToNbt<Self> {}
5    |                ^^^^
6    |
7    = note: ...which again requires computing type of `<impl at $DIR/issue-23305.rs:5:1: 5:24>`, completing the cycle
8 note: cycle used when collecting item types in top-level module
9   --> $DIR/issue-23305.rs:1:1
10    |
11 LL | pub trait ToNbt<T> {
12    | ^^^^^^^^^^^^^^^^^^
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0391`.