File: panic-handler-argument.stderr

package info (click to toggle)
rust-defmt 0.3.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 360 kB
  • sloc: makefile: 2
file content (5 lines) | stat: -rw-r--r-- 158 bytes parent folder | download
1
2
3
4
5
error: function must have signature `fn() -> !`
 --> $DIR/panic-handler-argument.rs:5:4
  |
5 | fn foo(x: bool) -> ! { info!("{:?}", x); loop {} }
  |    ^^^