summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T22513c.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename/should_compile/T22513c.stderr')
-rw-r--r--testsuite/tests/rename/should_compile/T22513c.stderr6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/T22513c.stderr b/testsuite/tests/rename/should_compile/T22513c.stderr
new file mode 100644
index 0000000000..ee2bc58336
--- /dev/null
+++ b/testsuite/tests/rename/should_compile/T22513c.stderr
@@ -0,0 +1,6 @@
+T22513c.hs:6:10: warning: [GHC-54201] [-Wterm-variable-capture]
+ The type variable ‘a’ is implicitly quantified,
+ even though another variable of the same name is in scope:
+ ‘a’ defined at T22513c.hs:4:3
+ This is not forward-compatible with a planned GHC extension, RequiredTypeArguments.
+ Suggested fix: Consider renaming the type variable.