diff options
Diffstat (limited to 'src/test/ui/feature-gates/feature-gate-unsized_locals.stderr')
-rw-r--r-- | src/test/ui/feature-gates/feature-gate-unsized_locals.stderr | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/feature-gates/feature-gate-unsized_locals.stderr b/src/test/ui/feature-gates/feature-gate-unsized_locals.stderr deleted file mode 100644 index c4507843e..000000000 --- a/src/test/ui/feature-gates/feature-gate-unsized_locals.stderr +++ /dev/null @@ -1,16 +0,0 @@ -error[E0277]: the size for values of type `(dyn FnOnce() + 'static)` cannot be known at compilation time - --> $DIR/feature-gate-unsized_locals.rs:1:6 - | -LL | fn f(f: dyn FnOnce()) {} - | ^ doesn't have a size known at compile-time - | - = help: the trait `Sized` is not implemented for `(dyn FnOnce() + 'static)` - = help: unsized fn params are gated as an unstable feature -help: function arguments must have a statically known size, borrowed types always have a known size - | -LL | fn f(f: &dyn FnOnce()) {} - | + - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0277`. |