From 373692614d6b50847b930b34716e1e086a318de9 Mon Sep 17 00:00:00 2001 From: Cory Sherman Date: Thu, 24 May 2018 16:23:52 -0700 Subject: [PATCH] rename RangeArgument->RangeBounds The collections_range FPC closed, with the decision to rename to RangeBounds::start_bound(). https://github.com/rust-lang/rust/issues/30877 --- tests/ui/needless_pass_by_value.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ui/needless_pass_by_value.rs b/tests/ui/needless_pass_by_value.rs index 3459d3820b71..630a91aee41c 100644 --- a/tests/ui/needless_pass_by_value.rs +++ b/tests/ui/needless_pass_by_value.rs @@ -115,9 +115,9 @@ trait FalsePositive { // shouldn't warn on extern funcs extern "C" fn ext(x: String) -> usize { x.len() } -// whitelist RangeArgument -fn range>(range: T) { - let _ = range.start(); +// whitelist RangeBounds +fn range>(range: T) { + let _ = range.start_bound(); } struct CopyWrapper(u32);