From 585fe22cebd48d57c6720f18154fd72c14b04737 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Sun, 24 Jan 2021 18:48:03 -0500 Subject: [PATCH] Fix line lengths --- src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs b/src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs index 22622e228f547..06883a857900e 100644 --- a/src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs +++ b/src/test/ui/rfc-2091-track-caller/tracked-trait-obj.rs @@ -47,12 +47,15 @@ impl Tracked for () { fn main() { let tracked: &dyn Tracked = &(); - tracked.track_caller_trait_method(line!(), 13); // The column is the start of 'track_caller_trait_method' + // The column is the start of 'track_caller_trait_method' + tracked.track_caller_trait_method(line!(), 13); const TRACKED: &dyn Tracked = &(); - TRACKED.track_caller_trait_method(line!(), 13); // The column is the start of 'track_caller_trait_method' + // The column is the start of 'track_caller_trait_method' + TRACKED.track_caller_trait_method(line!(), 13); TRACKED.track_caller_not_on_trait_method(); + // The column is the start of `track_caller_through_self` let boxed: Box = Box::new(()); - boxed.track_caller_through_self(line!(), 11); // The column is the start of `track_caller_through_self` + boxed.track_caller_through_self(line!(), 11); }