diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-06-12 10:22:08 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-06-12 10:22:08 -0700 |
| commit | 46a6af12aa8d688aa52279647b01be6035adf22c (patch) | |
| tree | a716568cce8852be2cef736ba860bfb2b2836cc5 /src/rustllvm/RustWrapper.cpp | |
| parent | 5fcfa08e9899044e5cad2ac238206d83568a863f (diff) | |
| download | rust-46a6af12aa8d688aa52279647b01be6035adf22c.tar.gz rust-46a6af12aa8d688aa52279647b01be6035adf22c.zip | |
Change `<` interpreted as generic arg start warning
```
warning: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
--> $DIR/issue-22644.rs:16:33
|
16 | println!("{}", a as usize < b);
| - ^ interpreted as generic argument
| |
| not interpreted as comparison
|
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
