You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #131723 - matthiaskrgr:rollup-krcslig, r=matthiaskrgr
Rollup of 9 pull requests
Successful merges:
- #122670 (Fix bug where `option_env!` would return `None` when env var is present but not valid Unicode)
- #131095 (Use environment variables instead of command line arguments for merged doctests)
- #131339 (Expand set_ptr_value / with_metadata_of docs)
- #131652 (Move polarity into `PolyTraitRef` rather than storing it on the side)
- #131675 (Update lint message for ABI not supported)
- #131681 (Fix up-to-date checking for run-make tests)
- #131702 (Suppress import errors for traits that couldve applied for method lookup error)
- #131703 (Resolved python deprecation warning in publish_toolstate.py)
- #131710 (Remove `'apostrophes'` from `rustc_parse_format`)
r? `@ghost`
`@rustbot` modify labels: rollup
@@ -197,9 +197,9 @@ impl<'tcx> LateLintPass<'tcx> for TraitBounds {
197
197
// If the number of unique traits isn't the same as the number of traits in the bounds,
198
198
// there must be 1 or more duplicates
199
199
if bounds.len() != unique_traits.len(){
200
-
letmut bounds_span = bounds[0].0.span;
200
+
letmut bounds_span = bounds[0].span;
201
201
202
-
for(bound, _)in bounds.iter().skip(1){
202
+
for bound in bounds.iter().skip(1){
203
203
bounds_span = bounds_span.to(bound.span);
204
204
}
205
205
@@ -229,7 +229,8 @@ impl TraitBounds {
229
229
/// this MSRV? See <https://github.com/rust-lang/rust-clippy/issues/8772> for details.
0 commit comments