]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #19211: aochagavia/tuple-index
authorJakub Bukaj <jakub@jakub.cc>
Sun, 23 Nov 2014 19:11:56 +0000 (14:11 -0500)
committerJakub Bukaj <jakub@jakub.cc>
Sun, 23 Nov 2014 19:11:56 +0000 (14:11 -0500)
This breaks code like

```
let t = (42i, 42i);
... t.0::<int> ...;
```

Change this code to not contain an unused type parameter. For example:

```
let t = (42i, 42i);
... t.0 ...;
```

Closes https://github.com/rust-lang/rust/issues/19096

[breaking-change]

r? @aturon

1  2 
src/librustc_trans/trans/consts.rs
src/librustc_trans/trans/expr.rs

Simple merge
Simple merge