summary refs log tree commit diff
path: root/src/test/ui/panic-handler/panic-handler-bad-signature-4.stderr
blob: bd25c8b02f8057332d09fe60bc3bcfdd61f33243 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: should have no type parameters
  --> $DIR/panic-handler-bad-signature-4.rs:9:1
   |
LL | / fn panic<T>(pi: &PanicInfo) -> ! {
LL | |     //~^ ERROR should have no type parameters
LL | |     loop {}
LL | | }
   | |_^

error: aborting due to previous error