diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-05-17 18:39:30 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-17 18:39:30 +0000 |
| commit | 1a24c725d2c6889b68056f4804b588611271c1fd (patch) | |
| tree | f81f8a85fe9331216a3203542d2ee6da3f4d90a3 /ui/task-priority-too-high.stderr | |
| parent | 6896749f7b8d35a53e359cf90758e2790ad95b19 (diff) | |
| parent | cd445165c50a46042e0cf17eb0081879f9cf4d52 (diff) | |
Merge #641
641: More ergonomic error from static asserts messages r=perlindgren a=korken89
Closes #634
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'ui/task-priority-too-high.stderr')
| -rw-r--r-- | ui/task-priority-too-high.stderr | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/ui/task-priority-too-high.stderr b/ui/task-priority-too-high.stderr index e0978f7..a5ce918 100644 --- a/ui/task-priority-too-high.stderr +++ b/ui/task-priority-too-high.stderr @@ -1,7 +1,15 @@ +warning: unused variable: `cx` + --> ui/task-priority-too-high.rs:12:13 + | +12 | fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { + | ^^ help: if this is intentional, prefix it with an underscore: `_cx` + | + = note: `#[warn(unused_variables)]` on by default + error[E0080]: evaluation of constant value failed - --> $DIR/task-priority-too-high.rs:3:1 + --> ui/task-priority-too-high.rs:3:1 | 3 | #[rtic::app(device = lm3s6965)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `8_usize - 9_usize`, which would overflow + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'Maximum priority used by interrupt vector 'I2C0' is more than supported by hardware', $DIR/ui/task-priority-too-high.rs:3:1 | - = note: this error originates in the attribute macro `rtic::app` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) |
