]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #41087 - estebank:tuple-float-index, r=arielb1
authorTim Neumann <mail@timnn.me>
Wed, 12 Apr 2017 12:45:41 +0000 (14:45 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Apr 2017 12:45:41 +0000 (14:45 +0200)
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;
```

Fix #41081.


No differences found