about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-03-24 14:26:11 +0000
committerbors <bors@rust-lang.org>2019-03-24 14:26:11 +0000
commitc7b5f4d0f7ccf5d40168f541d4418bb76d9cb513 (patch)
treea1267a8f9064b3707f582dfc9a70669f8be78758 /src/libstd/sys/unix/stack_overflow.rs
parentfb5ed488ff1a251db895c545592488a67be67112 (diff)
parentca5a2122cc68fa14e72f1631ee5e9bbf2ac9c94f (diff)
downloadrust-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