mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +00:00
parent
981b031c9f
commit
e5638e0cb5
@ -87,8 +87,6 @@ pub fn rewrite_path(context: &RewriteContext,
|
||||
span_lo = qself.ty.span.hi + BytePos(1);
|
||||
}
|
||||
|
||||
let extra_offset = extra_offset(&result, shape);
|
||||
let shape = try_opt!(shape.shrink_left(extra_offset));
|
||||
rewrite_path_segments(path_context,
|
||||
result,
|
||||
path.segments.iter().skip(skip_count),
|
||||
|
@ -7,8 +7,7 @@ trait BarTrait<T>: Sized {
|
||||
fn foo();
|
||||
}
|
||||
|
||||
type Foo<T: FooTrait> =
|
||||
<<T as FooTrait<U>>::Bar as BarTrait<U>>::Baz;
|
||||
type Foo<T: FooTrait> = <<T as FooTrait<U>>::Bar as BarTrait<U>>::Baz;
|
||||
type Bar<T: BarTrait> = <T as BarTrait<U>>::Baz;
|
||||
|
||||
fn some_func<T: FooTrait<U>, U>() {
|
||||
|
Loading…
Reference in New Issue
Block a user