File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ pub fn merge_bounds(
118118 } ) ;
119119 }
120120 PP :: Parenthesized { ref mut output, .. } => match output {
121- Some ( o) => assert ! ( o == rhs) ,
121+ Some ( o) => assert_eq ! ( o, rhs) ,
122122 None => if * rhs != clean:: Type :: Tuple ( Vec :: new ( ) ) {
123123 * output = Some ( rhs. clone ( ) ) ;
124124 }
Original file line number Diff line number Diff line change 1+ // compile-flags: -Cmetadata=aux
2+
3+ pub trait Trait {
4+ }
5+
6+ pub struct Struct < F >
7+ {
8+ _p : :: std:: marker:: PhantomData < F > ,
9+ }
10+
11+ impl < F : Fn ( ) -> u32 >
12+ Trait for Struct < F >
13+ where
14+ F : Fn ( ) -> u32 ,
15+ {
16+ }
Original file line number Diff line number Diff line change 1+ // aux-build:issue-57180.rs
2+
3+ extern crate issue_57180;
4+ use issue_57180:: Trait ;
5+
6+ fn main ( ) {
7+ }
You can’t perform that action at this time.
0 commit comments