about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2023-10-08 10:06:17 +0000
committerAli MJ Al-Nasrawy <alimjalnasrawy@gmail.com>2023-10-08 10:06:17 +0000
commita8830631b9446c8b48cd4eba1ef448eb5a258cdc (patch)
treed5caa0da3bd6cdd6ad7d2893de213e331815855e /compiler
parent996ffcb718941fc36ec5fdee38ed99ce20ec06d5 (diff)
downloadrust-a8830631b9446c8b48cd4eba1ef448eb5a258cdc.tar.gz
rust-a8830631b9446c8b48cd4eba1ef448eb5a258cdc.zip
remove trailing dots
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_infer/src/infer/error_reporting/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/error_reporting/mod.rs b/compiler/rustc_infer/src/infer/error_reporting/mod.rs
index 96db169dc70..12dcb711820 100644
--- a/compiler/rustc_infer/src/infer/error_reporting/mod.rs
+++ b/compiler/rustc_infer/src/infer/error_reporting/mod.rs
@@ -2433,7 +2433,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
             }
 
             err.multipart_suggestion_verbose(
-                format!("{msg}..."),
+                format!("{msg}"),
                 suggs,
                 Applicability::MaybeIncorrect, // Issue #41966
             );