about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-23 20:34:12 +0000
committerbors <bors@rust-lang.org>2018-08-23 20:34:12 +0000
commit5ce5e0860634258205c313879cb81a125aef4fcb (patch)
tree9af7f5ece63bb1a41e361adf3072b89c34590637 /src/liballoc
parent54d82d0880f93e293bc8fd6439ccfa7970d41f02 (diff)
parent7440125d622356291909efd1027162b4983c6f9f (diff)
downloadrust-5ce5e0860634258205c313879cb81a125aef4fcb.tar.gz
rust-5ce5e0860634258205c313879cb81a125aef4fcb.zip
Auto merge of #53588 - tristanburgess:52985_diagnostics_no_concrete_type_behind_existential_type, r=oli-obk
52985 diagnostics no concrete type behind existential type

@oli-obk FYI. See below for new cycle error generated.

```rust
error[E0391]: cycle detected when processing `Foo`
 --> /dev/staging/existential_type_no_concrete_type_nouse_potential.rs:3:1
  |
3 | existential type Foo: Copy;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
note: ...which requires processing `bar`...
 --> /dev/staging/existential_type_no_concrete_type_nouse_potential.rs:6:23
  |
6 |   fn bar(x: Foo) -> Foo {
  |  _______________________^
7 | |     x
8 | | }
  | |_^
  = note: ...which again requires processing `Foo`, completing the cycle

error: aborting due to previous error

For more information about this error, try `rustc --explain E0391`.
```
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions