diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2018-01-09 18:41:24 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2018-01-14 22:46:24 -0800 |
| commit | 09efaaf0764ddfd366bf6627533ecd1ea6ffb234 (patch) | |
| tree | 4090b3600132cd94b26b60a56a7b8562df1281af /src/libsyntax/util | |
| parent | 509ea8efc630d4e329dc2a440a2c0fc2a3fea236 (diff) | |
| download | rust-09efaaf0764ddfd366bf6627533ecd1ea6ffb234.tar.gz rust-09efaaf0764ddfd366bf6627533ecd1ea6ffb234.zip | |
Use `s::u::p::expr_precedence` and fix message
- Use `syntax::util::parser::expr_precedence` to determine wether parenthesis are needed around the casting target. - Update message to not incorrectly mention rounding on `.into()` suggestions, as those types that do have that implemented will never round.
Diffstat (limited to 'src/libsyntax/util')
0 files changed, 0 insertions, 0 deletions
