File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/test/ui/rfc-2091-track-caller Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,15 @@ impl Tracked for () {
4747
4848fn main ( ) {
4949 let tracked: & dyn Tracked = & ( ) ;
50- tracked. track_caller_trait_method ( line ! ( ) , 13 ) ; // The column is the start of 'track_caller_trait_method'
50+ // The column is the start of 'track_caller_trait_method'
51+ tracked. track_caller_trait_method ( line ! ( ) , 13 ) ;
5152
5253 const TRACKED : & dyn Tracked = & ( ) ;
53- TRACKED . track_caller_trait_method ( line ! ( ) , 13 ) ; // The column is the start of 'track_caller_trait_method'
54+ // The column is the start of 'track_caller_trait_method'
55+ TRACKED . track_caller_trait_method ( line ! ( ) , 13 ) ;
5456 TRACKED . track_caller_not_on_trait_method ( ) ;
5557
58+ // The column is the start of `track_caller_through_self`
5659 let boxed: Box < dyn Tracked > = Box :: new ( ( ) ) ;
57- boxed. track_caller_through_self ( line ! ( ) , 11 ) ; // The column is the start of `track_caller_through_self`
60+ boxed. track_caller_through_self ( line ! ( ) , 11 ) ;
5861}
You can’t perform that action at this time.
0 commit comments