@@ -46,7 +46,7 @@ impl<T> S<T> {
4646fn explicit_monomorphic_dereference ( ) {
4747 // Dereference with method call
4848 let a1 = MyIntPointer { value : 34i64 } ;
49- let _b1 = a1. deref ( ) ; // $ target=MyIntPointer::deref type=_b1: TRef. i64
49+ let _b1 = a1. deref ( ) ; // $ target=MyIntPointer::deref type=_b1@&< TRef>: i64
5050
5151 // Dereference with overloaded dereference operator
5252 let a2 = MyIntPointer { value : 34i64 } ;
@@ -60,7 +60,7 @@ fn explicit_monomorphic_dereference() {
6060fn explicit_polymorphic_dereference ( ) {
6161 // Explicit dereference with type parameter
6262 let c1 = MySmartPointer { value : 'a' } ;
63- let _d1 = c1. deref ( ) ; // $ target=MySmartPointer::deref type=_d1: TRef. char
63+ let _d1 = c1. deref ( ) ; // $ target=MySmartPointer::deref type=_d1@&< TRef>: char
6464
6565 // Explicit dereference with type parameter
6666 let c2 = MySmartPointer { value : 'a' } ;
@@ -74,7 +74,7 @@ fn explicit_polymorphic_dereference() {
7474fn explicit_ref_dereference ( ) {
7575 // Explicit dereference with type parameter
7676 let e1 = & 'a' ;
77- let _f1 = e1. deref ( ) ; // $ target=deref type=_f1: TRef. char
77+ let _f1 = e1. deref ( ) ; // $ target=deref type=_f1@&< TRef>: char
7878
7979 // Explicit dereference with type parameter
8080 let e2 = & 'a' ;
@@ -88,7 +88,7 @@ fn explicit_ref_dereference() {
8888fn explicit_box_dereference ( ) {
8989 // Explicit dereference with type parameter
9090 let g1: Box < char > = Box :: new ( 'a' ) ; // $ target=new
91- let _h1 = g1. deref ( ) ; // $ target=deref type=_h1: TRef. char
91+ let _h1 = g1. deref ( ) ; // $ target=deref type=_h1@&< TRef>: char
9292
9393 // Explicit dereference with type parameter
9494 let g2: Box < char > = Box :: new ( 'a' ) ; // $ target=new
@@ -109,9 +109,9 @@ fn implicit_dereference() {
109109 let _y = x. is_positive ( ) ; // $ target=is_positive type=_y:bool
110110
111111 let z = MySmartPointer { value : S ( 0i64 ) } ;
112- let z_ = z. foo ( ) ; // $ target=foo type=z_: TRef. i64
112+ let z_ = z. foo ( ) ; // $ target=foo type=z_@&< TRef>: i64
113113
114- let v = Vec :: new ( ) ; // $ target=new type=v:T. i32
114+ let v = Vec :: new ( ) ; // $ target=new type=v@Vec<T>: i32
115115 let mut x = MySmartPointer { value : v } ;
116116 x. push ( 0 ) ; // $ target=push
117117}
0 commit comments