diff options
| author | bors <bors@rust-lang.org> | 2019-03-24 14:26:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-03-24 14:26:11 +0000 |
| commit | c7b5f4d0f7ccf5d40168f541d4418bb76d9cb513 (patch) | |
| tree | a1267a8f9064b3707f582dfc9a70669f8be78758 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | fb5ed488ff1a251db895c545592488a67be67112 (diff) | |
| parent | ca5a2122cc68fa14e72f1631ee5e9bbf2ac9c94f (diff) | |
| download | rust-c7b5f4d0f7ccf5d40168f541d4418bb76d9cb513.tar.gz rust-c7b5f4d0f7ccf5d40168f541d4418bb76d9cb513.zip | |
Auto merge of #58305 - scalexm:chalk-continued, r=nikomatsakis
(WIP) Small fixes in chalkification
Small fixes around region constraints and builtin impls. There are still some type inference errors, for example the following code errors out:
```rust
fn main() {
let mut x: Vec<i32> = Vec::new();
// ^^^^^^^^ cannot infer type for `std::vec::Vec<_>`
}
```
but explicitly specifying `Vec::<i32>::new` works.
With these few fixes, the following code now passes type-checking:
```rust
fn main() {
let mut x: Vec<i32> = Vec::<i32>::new();
x.push(5);
println!("{:?}", x);
}
```
I also fixed the implied bounds bug as discussed on Zulip and in https://github.com/rust-lang-nursery/chalk/pull/206
cc @tmandry
r? @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
