about summary refs log tree commit diff
path: root/tests/coverage/generics.coverage
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-21 09:18:48 +0000
committerbors <bors@rust-lang.org>2024-01-21 09:18:48 +0000
commitcb25c5bc3d526a8fb931314cb3a7849115134b04 (patch)
tree3796402da73b4643ceecc186bf4bbba17d0b1229 /tests/coverage/generics.coverage
parent867d39cdf625e4db4b381faff993346582e598b4 (diff)
parent01669d27d2e9e26ab247a8f6ae78a9673513c7dd (diff)
downloadrust-cb25c5bc3d526a8fb931314cb3a7849115134b04.tar.gz
rust-cb25c5bc3d526a8fb931314cb3a7849115134b04.zip
Auto merge of #120187 - Nadrieril:rollup-xfwrb0c, r=Nadrieril
Rollup of 8 pull requests

Successful merges:

 - #116090 (Implement strict integer operations that panic on overflow)
 - #118811 (Use `bool` instead of `PartiolOrd` as return value of the comparison closure in `{slice,Iteraotr}::is_sorted_by`)
 - #119081 (Add Ipv6Addr::is_ipv4_mapped)
 - #119461 (Use an interpreter in MIR jump threading)
 - #119996 (Move OS String implementation into `sys`)
 - #120015 (coverage: Format all coverage tests with `rustfmt`)
 - #120027 (pattern_analysis: Remove `Ty: Copy` bound)
 - #120084 (fix(rust-analyzer): use new pkgid spec to compare)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests/coverage/generics.coverage')
-rw-r--r--tests/coverage/generics.coverage6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/coverage/generics.coverage b/tests/coverage/generics.coverage
index 09839183566..c68c0be80b1 100644
--- a/tests/coverage/generics.coverage
+++ b/tests/coverage/generics.coverage
@@ -1,11 +1,11 @@
    LL|       |#![allow(unused_assignments)]
    LL|       |// failure-status: 1
    LL|       |
-   LL|       |struct Firework<T> where T: Copy + std::fmt::Display {
+   LL|       |struct Firework<T: Copy + std::fmt::Display> {
    LL|       |    strength: T,
    LL|       |}
    LL|       |
-   LL|       |impl<T> Firework<T> where T: Copy + std::fmt::Display {
+   LL|       |impl<T: Copy + std::fmt::Display> Firework<T> {
    LL|       |    #[inline(always)]
    LL|      3|    fn set_strength(&mut self, new_strength: T) {
    LL|      3|        self.strength = new_strength;
@@ -23,7 +23,7 @@
   ------------------
    LL|       |}
    LL|       |
-   LL|       |impl<T> Drop for Firework<T> where T: Copy + std::fmt::Display {
+   LL|       |impl<T: Copy + std::fmt::Display> Drop for Firework<T> {
    LL|       |    #[inline(always)]
    LL|      2|    fn drop(&mut self) {
    LL|      2|        println!("BOOM times {}!!!", self.strength);