summaryrefslogtreecommitdiffstats
path: root/tests/ui/fn/issue-39259.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/fn/issue-39259.stderr')
-rw-r--r--tests/ui/fn/issue-39259.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/fn/issue-39259.stderr b/tests/ui/fn/issue-39259.stderr
new file mode 100644
index 000000000..b656b76bf
--- /dev/null
+++ b/tests/ui/fn/issue-39259.stderr
@@ -0,0 +1,15 @@
+error[E0229]: associated type bindings are not allowed here
+ --> $DIR/issue-39259.rs:6:17
+ |
+LL | impl Fn(u32) -> u32 for S {
+ | ^^^ associated type not allowed here
+ |
+help: parenthesized trait syntax expands to `Fn<(u32,), Output=u32>`
+ --> $DIR/issue-39259.rs:6:6
+ |
+LL | impl Fn(u32) -> u32 for S {
+ | ^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0229`.