summaryrefslogtreecommitdiffstats
path: root/src/test/ui/regions/regions-free-region-outlives-static-outlives-free-region.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/regions/regions-free-region-outlives-static-outlives-free-region.stderr')
-rw-r--r--src/test/ui/regions/regions-free-region-outlives-static-outlives-free-region.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/regions/regions-free-region-outlives-static-outlives-free-region.stderr b/src/test/ui/regions/regions-free-region-outlives-static-outlives-free-region.stderr
new file mode 100644
index 000000000..70ed418d5
--- /dev/null
+++ b/src/test/ui/regions/regions-free-region-outlives-static-outlives-free-region.stderr
@@ -0,0 +1,10 @@
+warning: unnecessary lifetime parameter `'a`
+ --> $DIR/regions-free-region-outlives-static-outlives-free-region.rs:12:11
+ |
+LL | where 'a: 'static
+ | ^^
+ |
+ = help: you can use the `'static` lifetime directly, in place of `'a`
+
+warning: 1 warning emitted
+