Esteban Küber 8551cab7b7 Account for multiple trait bounds in bare trait object suggestion
Note the parentheses in the last suggestion:

```
error[E0277]: the size for values of type `(dyn Foo + Send + 'static)` cannot be known at compilation time
  --> $DIR/not-on-bare-trait.rs:7:8
   |
LL | fn foo(_x: Foo + Send) {
   |        ^^ doesn't have a size known at compile-time
   |
   = help: the trait `Sized` is not implemented for `(dyn Foo + Send + 'static)`
   = help: unsized fn params are gated as an unstable feature
help: you can use `impl Trait` as the argument type
   |
LL | fn foo(_x: impl Foo + Send) {
   |            ++++
help: function arguments must have a statically known size, borrowed types always have a known size
   |
LL | fn foo(_x: &(Foo + Send)) {
   |            ++          +
```
2024-01-03 18:59:42 +00:00
..
2023-12-22 11:01:07 -08:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-20 22:53:56 -05:00
2023-12-14 15:22:37 +01:00
2023-12-24 01:58:13 +08:00
2023-12-07 17:46:36 +01:00
2023-12-19 13:35:37 -05:00
2023-12-23 00:09:37 +08:00
2023-12-10 14:25:57 +01:00
2023-12-19 13:35:37 -05:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-12-15 16:12:27 +00:00
2023-12-17 07:31:07 +00:00
2023-12-27 15:47:57 +08:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-12-19 13:35:37 -05:00
2023-12-14 15:22:37 +01:00
2023-12-10 10:56:22 +08:00
2023-12-15 16:12:27 +00:00
2023-12-14 15:22:37 +01:00
2023-12-22 11:01:07 -08:00
2023-12-19 13:35:37 -05:00
2023-12-22 11:01:07 -08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-14 15:22:37 +01:00
2023-12-19 13:35:37 -05:00
2023-12-10 10:56:22 +08:00