summaryrefslogtreecommitdiff
path: root/tests/rustdoc-ui
diff options
context:
space:
mode:
authorPatrik Kårlin <patrik.karlin@gmail.com>2023-03-30 15:46:34 +0200
committerPatrik Kårlin <patrik.karlin@gmail.com>2023-03-30 15:46:34 +0200
commit1f9e2d0538bf7b4271498654df14a06b7ced8bdb (patch)
tree162b2704c56bad43d6b56bae43da315b89bce26d /tests/rustdoc-ui
parentdf556a31774781ef645e286ee3ccaa816622f95a (diff)
downloadrust-1f9e2d0538bf7b4271498654df14a06b7ced8bdb.tar.gz
rustdoc: tidy excess whitespace
Diffstat (limited to 'tests/rustdoc-ui')
-rw-r--r--tests/rustdoc-ui/issue-105742.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rustdoc-ui/issue-105742.rs b/tests/rustdoc-ui/issue-105742.rs
index dd79f0fac82..8f4172c0cbb 100644
--- a/tests/rustdoc-ui/issue-105742.rs
+++ b/tests/rustdoc-ui/issue-105742.rs
@@ -6,7 +6,7 @@ pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) {
//~| expected 1 generic argument
//~| the trait `SVec` cannot be made into an object
//~| `SVec` cannot be made into an object
- //~| missing generics for associated type `SVec::Item`
+ //~| missing generics for associated type `SVec::Item`
//~| missing generics for associated type `SVec::Item`
let _ = s;
}
@@ -14,7 +14,7 @@ pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) {
pub trait SVec: Index<
<Self as SVec>::Item,
//~^ expected 1 lifetime argument
- //~| expected 1 generic argument
+ //~| expected 1 generic argument
//~| missing generics for associated type `SVec::Item`
//~| missing generics for associated type `SVec::Item`
//~| missing generics for associated type `SVec::Item`
@@ -22,14 +22,14 @@ pub trait SVec: Index<
Output = <Index<<Self as SVec>::Item,
//~^ expected 1 lifetime argument
//~| expected 1 generic argument
- //~| missing generics for associated type `SVec::Item`
+ //~| missing generics for associated type `SVec::Item`
//~| missing generics for associated type `SVec::Item`
//~| missing generics for associated type `SVec::Item`
//~| missing generics for associated type `SVec::Item`
Output = <Self as SVec>::Item> as SVec>::Item,
//~^ expected 1 lifetime argument
//~| expected 1 generic argument
- //~| expected 1 lifetime argument
+ //~| expected 1 lifetime argument
//~| missing generics for associated type `SVec::Item`
//~| missing generics for associated type `SVec::Item`
//~| missing generics for associated type `SVec::Item`