summary refs log tree commit diff
path: root/src/test/ui/resolve/issue-23305.stderr
blob: 525b5cf7d8417f7d04573522598d4ca2ef6c65f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0391]: cycle detected when computing type of `<impl at $DIR/issue-23305.rs:5:1: 5:24>`
  --> $DIR/issue-23305.rs:5:16
   |
LL | impl dyn ToNbt<Self> {}
   |                ^^^^
   |
   = note: ...which again requires computing type of `<impl at $DIR/issue-23305.rs:5:1: 5:24>`, completing the cycle
note: cycle used when collecting item types in top-level module
  --> $DIR/issue-23305.rs:1:1
   |
LL | pub trait ToNbt<T> {
   | ^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0391`.