From 0950dc3d86c281f32439754a4cd8d616b574527f Mon Sep 17 00:00:00 2001 From: "NODA, Kai" Date: Wed, 23 Mar 2016 13:53:15 +0800 Subject: [PATCH] Remove ungrammatical dots from the error index. They were probably meant as a shorthand for omitted code. Part of #32446 but there should be a separate fix for the issue. Signed-off-by: NODA, Kai --- src/librustc/diagnostics.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index f474f7d4585f9..9348c05d44461 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -1261,7 +1261,7 @@ compiled: fn foo>(x: T){} #[rustc_on_unimplemented = "the type `{Self}` cannot be indexed by `{Idx}`"] -trait Index { ... } +trait Index { /* ... */ } foo(true); // `bool` does not implement `Index` ``` @@ -1291,7 +1291,7 @@ compiled: fn foo>(x: T){} #[rustc_on_unimplemented = "the type `{Self}` cannot be indexed by `{Idx}`"] -trait Index { ... } +trait Index { /* ... */ } foo(true); // `bool` does not implement `Index` ``` @@ -1319,7 +1319,7 @@ compiled: fn foo>(x: T){} #[rustc_on_unimplemented = "the type `{Self}` cannot be indexed by `{Idx}`"] -trait Index { ... } +trait Index { /* ... */ } foo(true); // `bool` does not implement `Index` ```