about summary refs log tree commit diff
path: root/tests/ui/suggestions/unsized-function-parameter.stderr
AgeCommit message (Collapse)AuthorLines
2024-09-27On implicit `Sized` bound on fn argument, point at type instead of patternEsteban Küber-6/+6
Instead of ``` error[E0277]: the size for values of type `(dyn ThriftService<(), AssocType = _> + 'static)` cannot be known at compilation time --> $DIR/issue-59324.rs:23:20 | LL | fn with_factory<H>(factory: dyn ThriftService<()>) {} | ^^^^^^^ doesn't have a size known at compile-time ``` output ``` error[E0277]: the size for values of type `(dyn ThriftService<(), AssocType = _> + 'static)` cannot be known at compilation time --> $DIR/issue-59324.rs:23:29 | LL | fn with_factory<H>(factory: dyn ThriftService<()>) {} | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time ```
2023-01-11Move /src/test to /testsAlbert Larsan-0/+42