diff options
Diffstat (limited to 'src/test/ui/const-generics/ice-const-generic-function-return-ty.rs')
-rw-r--r-- | src/test/ui/const-generics/ice-const-generic-function-return-ty.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/ui/const-generics/ice-const-generic-function-return-ty.rs b/src/test/ui/const-generics/ice-const-generic-function-return-ty.rs new file mode 100644 index 000000000..2bf628af8 --- /dev/null +++ b/src/test/ui/const-generics/ice-const-generic-function-return-ty.rs @@ -0,0 +1,5 @@ +// #95163 +fn return_ty() -> impl Into<<() as Reexported; +//~^ ERROR expected one of `(`, `::`, `<`, or `>`, found `;` + +fn main() {} |