mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
31b392fe3a
We use compiletest to run compile-fail tests but compiletest depends on compiler internals so it breaks every now and then and requires nightly. With trybuild we can also run compile-fail tests but it works on stable and it already has reached version 1.0
13 lines
372 B
Text
13 lines
372 B
Text
warning: unused import: `rtfm::app`
|
|
--> $DIR/task-priority-too-high.rs:3:5
|
|
|
|
|
3 | use rtfm::app;
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` on by default
|
|
|
|
error[E0080]: evaluation of constant value failed
|
|
--> $DIR/task-priority-too-high.rs:5:1
|
|
|
|
|
5 | #[rtfm::app(device = lm3s6965)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to subtract with overflow
|