rust/tests
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
..
assembly Auto merge of #118491 - cuviper:aarch64-stack-probes, r=wesleywiser 2023-12-14 02:01:13 +00:00
auxiliary
codegen Revert codegen test change. 2023-12-24 20:08:58 +00:00
codegen-units
coverage Enable GVN by default. 2023-12-24 20:08:57 +00:00
coverage-run-rustdoc
debuginfo
incremental Disable opt in incremental test. 2023-12-24 20:08:58 +00:00
mir-opt Update to bitflags 2 in the compiler 2023-12-30 18:17:28 +01:00
pretty Make some non-diagnostic-affecting QPath::LangItem into regular qpaths 2023-12-26 04:07:38 +00:00
run-make Improve print_tts by changing tokenstream::Spacing. 2023-12-11 09:19:09 +11:00
run-make-fulldeps Remove more Session methods that duplicate DiagCtxt methods. 2023-12-24 08:17:47 +11:00
run-pass-valgrind
rustdoc Auto merge of #119066 - notriddle:notriddle/sidebar-source-redesign, r=GuillaumeGomez 2023-12-31 15:32:15 +00:00
rustdoc-gui Auto merge of #119066 - notriddle:notriddle/sidebar-source-redesign, r=GuillaumeGomez 2023-12-31 15:32:15 +00:00
rustdoc-js rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
rustdoc-js-std rustdoc-search: count path edits with separate edit limit 2023-12-26 18:46:17 -07:00
rustdoc-json Add regression test for is_object_safe field on traits 2023-12-23 19:00:17 +01:00
rustdoc-ui Simple modification of diagnostic information 2023-12-21 10:17:11 +08:00
ui Account for multiple trait bounds in bare trait object suggestion 2024-01-03 18:59:42 +00:00
ui-fulldeps Auto merge of #119097 - nnethercote:fix-EmissionGuarantee, r=compiler-errors 2023-12-22 00:03:57 +00:00
COMPILER_TESTS.md