summary refs log tree commit diff
path: root/src/test/ui/panic-handler/panic-handler-bad-signature-4.stderr
blob: 3a5fc76efbbd4158ea565c589cb8ad93734f55cc (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 | |
LL | |     loop {}
LL | | }
   | |_^

error: aborting due to previous error