about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAdolfo OchagavĂ­a <aochagavia92@gmail.com>2014-11-22 16:02:49 +0100
committerAdolfo OchagavĂ­a <aochagavia92@gmail.com>2014-11-23 12:17:30 +0100
commit9a857b4472142b6d0bf65e9185c4c2619e722fb0 (patch)
treedb9b9e6b482778f490924def2b5a2b3c3a438ae9 /src/rustllvm/RustWrapper.cpp
parentacfdb14044bc5a8320536d19c381fb9c04420e3b (diff)
downloadrust-9a857b4472142b6d0bf65e9185c4c2619e722fb0.tar.gz
rust-9a857b4472142b6d0bf65e9185c4c2619e722fb0.zip
libsyntax: Forbid type parameters in tuple indices
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]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions