about summary refs log tree commit diff
path: root/tests/ui/error-codes
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-11-24 22:09:59 +0000
committerMichael Goulet <michael@errs.io>2023-12-05 17:15:46 +0000
commitb97ff8eb16c4b07dc8d24cf784b7c12bd3903e29 (patch)
tree438a21a56bdc83175083f15badb407fbd122f44a /tests/ui/error-codes
parent8a7b2035f816f6d27003a9326d6bd3a3d739fcc3 (diff)
downloadrust-b97ff8eb16c4b07dc8d24cf784b7c12bd3903e29.tar.gz
rust-b97ff8eb16c4b07dc8d24cf784b7c12bd3903e29.zip
Add print_trait_sugared
Diffstat (limited to 'tests/ui/error-codes')
-rw-r--r--tests/ui/error-codes/E0401.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/error-codes/E0401.stderr b/tests/ui/error-codes/E0401.stderr
index 0a069e8d350..d27fade487f 100644
--- a/tests/ui/error-codes/E0401.stderr
+++ b/tests/ui/error-codes/E0401.stderr
@@ -55,7 +55,7 @@ error[E0283]: type annotations needed
 LL |     bfnr(x);
    |     ^^^^ cannot infer type of the type parameter `W` declared on the function `bfnr`
    |
-   = note: multiple `impl`s satisfying `_: Fn<()>` found in the following crates: `alloc`, `core`:
+   = note: multiple `impl`s satisfying `_: Fn()` found in the following crates: `alloc`, `core`:
            - impl<A, F> Fn<A> for &F
              where A: Tuple, F: Fn<A>, F: ?Sized;
            - impl<Args, F, A> Fn<Args> for Box<F, A>