Skip to content

Commit a883063

Browse files
committed
remove trailing dots
1 parent 996ffcb commit a883063

File tree

68 files changed

+129
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+129
-129
lines changed

compiler/rustc_infer/src/infer/error_reporting/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2433,7 +2433,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
24332433
}
24342434

24352435
err.multipart_suggestion_verbose(
2436-
format!("{msg}..."),
2436+
format!("{msg}"),
24372437
suggs,
24382438
Applicability::MaybeIncorrect, // Issue #41966
24392439
);

tests/ui/associated-inherent-types/regionck-1.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | type NoTyOutliv<'a, T> = &'a T;
66
| |
77
| the parameter type `T` must be valid for the lifetime `'a` as defined here...
88
|
9-
help: consider adding an explicit lifetime bound...
9+
help: consider adding an explicit lifetime bound
1010
|
1111
LL | type NoTyOutliv<'a, T: 'a> = &'a T;
1212
| ++++

tests/ui/async-await/in-trait/async-generics-and-bounds.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LL | async fn foo(&self) -> &(T, U) where T: Debug + Sized, U: Hash;
77
| | the parameter type `U` must be valid for the anonymous lifetime as defined here...
88
| ...so that the reference type `&(T, U)` does not outlive the data it points at
99
|
10-
help: consider adding an explicit lifetime bound...
10+
help: consider adding an explicit lifetime bound
1111
|
1212
LL | async fn foo<'a>(&'a self) -> &'a (T, U) where T: Debug + Sized, U: Hash, U: 'a;
1313
| ++++ ++ ++ +++++++
@@ -21,7 +21,7 @@ LL | async fn foo(&self) -> &(T, U) where T: Debug + Sized, U: Hash;
2121
| | the parameter type `T` must be valid for the anonymous lifetime as defined here...
2222
| ...so that the reference type `&(T, U)` does not outlive the data it points at
2323
|
24-
help: consider adding an explicit lifetime bound...
24+
help: consider adding an explicit lifetime bound
2525
|
2626
LL | async fn foo<'a>(&'a self) -> &'a (T, U) where T: Debug + Sized, U: Hash, T: 'a;
2727
| ++++ ++ ++ +++++++

tests/ui/async-await/in-trait/async-generics.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LL | async fn foo(&self) -> &(T, U);
77
| | the parameter type `U` must be valid for the anonymous lifetime as defined here...
88
| ...so that the reference type `&(T, U)` does not outlive the data it points at
99
|
10-
help: consider adding an explicit lifetime bound...
10+
help: consider adding an explicit lifetime bound
1111
|
1212
LL | async fn foo<'a>(&'a self) -> &'a (T, U) where U: 'a;
1313
| ++++ ++ ++ +++++++++++
@@ -21,7 +21,7 @@ LL | async fn foo(&self) -> &(T, U);
2121
| | the parameter type `T` must be valid for the anonymous lifetime as defined here...
2222
| ...so that the reference type `&(T, U)` does not outlive the data it points at
2323
|
24-
help: consider adding an explicit lifetime bound...
24+
help: consider adding an explicit lifetime bound
2525
|
2626
LL | async fn foo<'a>(&'a self) -> &'a (T, U) where T: 'a;
2727
| ++++ ++ ++ +++++++++++

tests/ui/builtin-superkinds/builtin-superkinds-self-type.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ note: ...that is required by this bound
1212
|
1313
LL | trait Foo : Sized+Sync+'static {
1414
| ^^^^^^^
15-
help: consider adding an explicit lifetime bound...
15+
help: consider adding an explicit lifetime bound
1616
|
1717
LL | impl <T: Sync + 'static> Foo for T { }
1818
| +++++++++

tests/ui/coercion/issue-53475.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LL | impl<T> CoerceUnsized<Foo<dyn Any>> for Foo<T> {}
77
| the parameter type `T` must be valid for the static lifetime...
88
| ...so that the type `T` will meet its required lifetime bounds
99
|
10-
help: consider adding an explicit lifetime bound...
10+
help: consider adding an explicit lifetime bound
1111
|
1212
LL | impl<T: 'static> CoerceUnsized<Foo<dyn Any>> for Foo<T> {}
1313
| +++++++++

tests/ui/consts/issue-102117.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LL | type_id: TypeId::of::<T>(),
77
| the parameter type `T` must be valid for the static lifetime...
88
| ...so that the type `T` will meet its required lifetime bounds
99
|
10-
help: consider adding an explicit lifetime bound...
10+
help: consider adding an explicit lifetime bound
1111
|
1212
LL | pub fn new<T: 'static>() -> &'static Self {
1313
| +++++++++
@@ -22,7 +22,7 @@ LL | type_id: TypeId::of::<T>(),
2222
| ...so that the type `T` will meet its required lifetime bounds
2323
|
2424
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
25-
help: consider adding an explicit lifetime bound...
25+
help: consider adding an explicit lifetime bound
2626
|
2727
LL | pub fn new<T: 'static>() -> &'static Self {
2828
| +++++++++

tests/ui/error-codes/E0311.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | fn no_restriction<T>(x: &()) -> &() {
66
LL | with_restriction::<T>(x)
77
| ^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
88
|
9-
help: consider adding an explicit lifetime bound...
9+
help: consider adding an explicit lifetime bound
1010
|
1111
LL | fn no_restriction<'a, T: 'a>(x: &'a ()) -> &'a () {
1212
| +++ ++++ ++ ++

tests/ui/fn/implied-bounds-unnorm-associated-type-5.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ note: ...that is required by this bound
1111
|
1212
LL | trait Trait<'a>: 'a {
1313
| ^^
14-
help: consider adding an explicit lifetime bound...
14+
help: consider adding an explicit lifetime bound
1515
|
1616
LL | impl<'a, T: 'a> Trait<'a> for T {
1717
| ++++

tests/ui/generic-associated-types/issue-84931.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LL | type Item<'a> = &'a mut T;
66
| |
77
| the parameter type `T` must be valid for the lifetime `'a` as defined here...
88
|
9-
help: consider adding an explicit lifetime bound...
9+
help: consider adding an explicit lifetime bound
1010
|
1111
LL | type Item<'a> = &'a mut T where T: 'a;
1212
| +++++++++++

0 commit comments

Comments
 (0)