We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aedbe9a commit b1db8f8Copy full SHA for b1db8f8
src/test/run-pass/impl-trait/lifetimes.rs
@@ -41,7 +41,6 @@ impl<'a> SingleRegionTrait<'a> for &'a u32 {}
41
struct SingleRegionStruct<'a>(&'a u32);
42
43
fn simple_type_hrtb<'b>() -> impl for<'a> SingleRegionTrait<'a> { 5 }
44
-// FIXME(cramertj) add test after #45992 lands to ensure lint is triggered
45
fn elision_single_region_trait(x: &u32) -> impl SingleRegionTrait { x }
46
fn elision_single_region_struct(x: SingleRegionStruct) -> impl Into<SingleRegionStruct> { x }
47
0 commit comments