Auto merge of #36536 - jonathandturner:rollup, r=jonathandturner

Rollup of 8 pull requests

- Successful merges: #36383, #36424, #36480, #36484, #36505, #36509, #36519, #36521
- Failed merges:
This commit is contained in:
bors 2016-09-16 10:45:35 -07:00 committed by GitHub
commit 55a61a1175
10 changed files with 330 additions and 166 deletions

View file

@ -9,13 +9,14 @@
// except according to those terms.
trait Foo {
fn foo<T: Default>(x: T) -> Self;
fn foo<T: Default>(x: T) -> Self; //~ NOTE expected 1 type parameter
}
struct Bar;
impl Foo for Bar {
fn foo(x: bool) -> Self { Bar } //~ ERROR E0049
//~| NOTE found 0 type parameters
}
fn main() {