about summary refs log tree commit diff
path: root/src/test/ui
diff options
context:
space:
mode:
authorEllen <supbscripter@gmail.com>2021-01-27 15:09:17 +0000
committerEllen <supbscripter@gmail.com>2021-01-27 15:09:17 +0000
commitab421a176240a658ed02e8eee70b7ea211c087e3 (patch)
treeee63a5054b5e85b70abc50d37d4c0a7cec923806 /src/test/ui
parentf4261772d8d4e2d4fb7e9dd4685b995a7176e506 (diff)
downloadrust-ab421a176240a658ed02e8eee70b7ea211c087e3.tar.gz
rust-ab421a176240a658ed02e8eee70b7ea211c087e3.zip
fix tidy errors
Diffstat (limited to 'src/test/ui')
-rw-r--r--src/test/ui/const-generics/const_evaluatable_checked/nested-abstract-consts-2.rs3
-rw-r--r--src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-1.rs3
-rw-r--r--src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-2.rs3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/test/ui/const-generics/const_evaluatable_checked/nested-abstract-consts-2.rs b/src/test/ui/const-generics/const_evaluatable_checked/nested-abstract-consts-2.rs
index fe5c2237a76..4f588238e23 100644
--- a/src/test/ui/const-generics/const_evaluatable_checked/nested-abstract-consts-2.rs
+++ b/src/test/ui/const-generics/const_evaluatable_checked/nested-abstract-consts-2.rs
@@ -31,4 +31,5 @@ fn main() {
     assert_eq!((Generic::<10>).bar(), 11);
 }
 
-// Test that the ``ConstU64<{ K + 1 - 1}>`` bound on ``bar``'s impl block satisfies the ``ConstU64<{K - 1}>`` bound on ``foo``'s impl block
+// Test that the ``ConstU64<{ K + 1 - 1}>`` bound on ``bar``'s impl block satisfies the
+// ``ConstU64<{K - 1}>`` bound on ``foo``'s impl block
diff --git a/src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-1.rs b/src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-1.rs
index f686bfd1d2b..1428f774b0d 100644
--- a/src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-1.rs
+++ b/src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-1.rs
@@ -31,4 +31,5 @@ fn main() {
     assert_eq!(substs3::<2>().0, [0; 3]);
 }
 
-// Test that the ``{ (L - 1) * 2 + 1 }`` bound on ``substs3`` satisfies the ``{ N + 1 }`` bound on ``Substs1``
+// Test that the ``{ (L - 1) * 2 + 1 }`` bound on ``substs3`` satisfies the
+// ``{ N + 1 }`` bound on ``Substs1``
diff --git a/src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-2.rs b/src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-2.rs
index 4cdfb107417..be8219a7446 100644
--- a/src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-2.rs
+++ b/src/test/ui/const-generics/const_evaluatable_checked/nested_uneval_unification-2.rs
@@ -25,4 +25,5 @@ fn main() {
     assert_eq!(substs3::<2>().0, [0; 2]);
 }
 
-// Test that the implicit ``{ (L) }`` bound on ``substs3`` satisfies the ``{ (N) }`` bound on ``Substs1``
+// Test that the implicit ``{ (L) }`` bound on ``substs3`` satisfies the
+// ``{ (N) }`` bound on ``Substs1``