about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2017-04-05 09:50:04 -0700
committerEsteban Küber <esteban@kuber.com.ar>2017-04-05 09:55:56 -0700
commit44e414c4770ff0800c375ddbb8e0f46ee00bcab1 (patch)
treef6b823912249f4cd632348bc2414c42cb0e8d69c /src/test/run-pass/thinlto
parent5309a3e31d88def1f3ea966162ed4f81f161d500 (diff)
downloadrust-44e414c4770ff0800c375ddbb8e0f46ee00bcab1.tar.gz
rust-44e414c4770ff0800c375ddbb8e0f46ee00bcab1.zip
Use proper span for tuple index parsed as float
Fix diagnostic suggestion from:

```rust
help: try parenthesizing the first index
  |     (1, (2, 3)).((1, (2, 3)).1).1;
```

to the correct:

```rust
help: try parenthesizing the first index
  |     ((1, (2, 3)).1).1;
```
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions