validate unused dispatchers

closes #521
This commit is contained in:
Jorge Aparicio 2021-08-31 19:50:50 +02:00
parent 3ef650832a
commit 1a49d67490
3 changed files with 27 additions and 4 deletions

View file

@ -0,0 +1,5 @@
error[E0599]: no variant or associated item named `UnknownInterrupt` found for enum `Interrupt` in the current scope
--> examples/unknown-interrupt.rs:3:47
|
3 | #[rtic::app(device = lm3s6965, dispatchers = [UnknownInterrupt])]
| ^^^^^^^^^^^^^^^^ variant or associated item not found in `Interrupt`