diff options
Diffstat (limited to 'src/test/ui/error-codes/E0059.stderr')
-rw-r--r-- | src/test/ui/error-codes/E0059.stderr | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/error-codes/E0059.stderr b/src/test/ui/error-codes/E0059.stderr deleted file mode 100644 index f331d0142..000000000 --- a/src/test/ui/error-codes/E0059.stderr +++ /dev/null @@ -1,15 +0,0 @@ -error[E0059]: type parameter to bare `Fn` trait must be a tuple - --> $DIR/E0059.rs:3:11 - | -LL | fn foo<F: Fn<i32>>(f: F) -> F::Output { f(3) } - | ^^^^^^^ the trait `Tuple` is not implemented for `i32` - | -note: required by a bound in `Fn` - --> $SRC_DIR/core/src/ops/function.rs:LL:COL - | -LL | pub trait Fn<Args: Tuple>: FnMut<Args> { - | ^^^^^ required by this bound in `Fn` - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0059`. |