diff options
| author | bors <bors@rust-lang.org> | 2018-08-23 20:34:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-08-23 20:34:12 +0000 |
| commit | 5ce5e0860634258205c313879cb81a125aef4fcb (patch) | |
| tree | 9af7f5ece63bb1a41e361adf3072b89c34590637 /src/liballoc | |
| parent | 54d82d0880f93e293bc8fd6439ccfa7970d41f02 (diff) | |
| parent | 7440125d622356291909efd1027162b4983c6f9f (diff) | |
| download | rust-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
