Skip to content

Commit

Permalink
FIXME(45992) remove fixme since the lint is being tested
Browse files Browse the repository at this point in the history
  • Loading branch information
nivkner committed Dec 19, 2018
1 parent aedbe9a commit b1db8f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/test/run-pass/impl-trait/lifetimes.rs
Expand Up @@ -41,7 +41,6 @@ impl<'a> SingleRegionTrait<'a> for &'a u32 {}
struct SingleRegionStruct<'a>(&'a u32);

fn simple_type_hrtb<'b>() -> impl for<'a> SingleRegionTrait<'a> { 5 }
// FIXME(cramertj) add test after #45992 lands to ensure lint is triggered
fn elision_single_region_trait(x: &u32) -> impl SingleRegionTrait { x }
fn elision_single_region_struct(x: SingleRegionStruct) -> impl Into<SingleRegionStruct> { x }

Expand Down

0 comments on commit b1db8f8

Please sign in to comment.