diff options
Diffstat (limited to 'tests/ui/generics/issue-83556.stderr')
-rw-r--r-- | tests/ui/generics/issue-83556.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/generics/issue-83556.stderr b/tests/ui/generics/issue-83556.stderr new file mode 100644 index 000000000..93affaffe --- /dev/null +++ b/tests/ui/generics/issue-83556.stderr @@ -0,0 +1,8 @@ +error: lifetime parameters must be declared prior to type and const parameters + --> $DIR/issue-83556.rs:1:15 + | +LL | struct Foo<T, 'a>(&'a ()); + | ----^^- help: reorder the parameters: lifetimes, then consts and types: `<'a, T>` + +error: aborting due to previous error + |