]> git.lizzy.rs Git - rust.git/commit
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)
commit3594c588bb735117621f6a168116d9e1d086654a
tree4aad3ac0ebee6c8e3d0d54affa6a8f72c2fc0546
parent5ad15128503e2eb72491171f6289edce837b08b0
parent40e1f8f8f1dec2c556e3805c75493752f766274f
rollup merge of #19211: aochagavia/tuple-index

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
src/librustc_trans/trans/consts.rs
src/librustc_trans/trans/expr.rs