diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-11-28 18:43:28 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-12-07 21:26:20 +0000 |
| commit | d13c34828e4bc0924f7e27bae994f9afecaf0ab4 (patch) | |
| tree | 16f36afad2817d252a1e6dc10c5b87f1a950718f /tests/ui/traits/inductive-overflow | |
| parent | 68253e14ee3d0e81881bc908b07b5ba141daf226 (diff) | |
| download | rust-d13c34828e4bc0924f7e27bae994f9afecaf0ab4.tar.gz rust-d13c34828e4bc0924f7e27bae994f9afecaf0ab4.zip | |
reword trait bound suggestion message to include the bounds
Diffstat (limited to 'tests/ui/traits/inductive-overflow')
| -rw-r--r-- | tests/ui/traits/inductive-overflow/two-traits.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/inductive-overflow/two-traits.stderr b/tests/ui/traits/inductive-overflow/two-traits.stderr index 6092c194a87..cb21de08b29 100644 --- a/tests/ui/traits/inductive-overflow/two-traits.stderr +++ b/tests/ui/traits/inductive-overflow/two-traits.stderr @@ -9,7 +9,7 @@ note: required by a bound in `Magic::X` | LL | type X: Trait; | ^^^^^ required by this bound in `Magic::X` -help: consider further restricting this bound +help: consider further restricting this bound with trait `std::marker::Sync` | LL | impl<T: Magic + std::marker::Sync> Magic for T { | +++++++++++++++++++ |
