about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-06-26 17:03:10 +0200
committerChristian Duerr <contact@christianduerr.com>2020-07-10 15:20:00 +0200
commit298a1fa3bd8ec04350b1bff6a6d92e34abf2e198 (patch)
treeae8b74a1573eec463246095f124c3e570aeabab8 /src/rustllvm/RustWrapper.cpp
parentbe8812203998042783b4ea9850cd8cfa3fd26242 (diff)
downloadrust-298a1fa3bd8ec04350b1bff6a6d92e34abf2e198.tar.gz
rust-298a1fa3bd8ec04350b1bff6a6d92e34abf2e198.zip
Move range_minus_one to pedantic
This moves the range_minus_one lint to the pedantic category, so there
will not be any warnings emitted by default. This should work around
problems where the suggestion is impossible to resolve due to the range
consumer only accepting a specific range implementation, rather than the
`RangeBounds` trait (see #3307).

While it is possible to work around this by extracting the boundary into
a variable, I don't think clippy should encourage people to disable or
work around lints, but instead the lints should be fixable. So hopefully
this will help until a proper implementation checks what the range is
used for.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions