diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-06-11 23:47:26 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-06-11 23:47:26 -0700 |
| commit | 3a7dbf48feb325bbe8517bc0fd7546e80931c8ed (patch) | |
| tree | 5d56cb9e9d64e0cd41900be2305b1ef22f1b95e9 /src/rustllvm/RustWrapper.cpp | |
| parent | a6d32153a6a70390e1c0c24907179d1e2a1f1ef9 (diff) | |
| download | rust-3a7dbf48feb325bbe8517bc0fd7546e80931c8ed.tar.gz rust-3a7dbf48feb325bbe8517bc0fd7546e80931c8ed.zip | |
Suggest non-ambiguous comparison after cast
```
warning: `<` is interpreted as a start of generic arguments for `usize`, not comparison
--> $DIR/issue-22644.rs:16:33
|
16 | println!("{}", a as usize < b);
| ^ expected one of `!`, `(`, `+`, `,`, `::`, or `>` here
|
help: if you want to compare the casted value then write
| println!("{}", (a as usize) < b);
```
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
