File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ language: rust
3
3
matrix :
4
4
include :
5
5
- env : TARGET=x86_64-unknown-linux-gnu
6
- rust : nightly
6
+ # work around problem about 'every suggestion should have at least one span'
7
+ rust : nightly-2017-11-21
7
8
8
9
- env : TARGET=thumbv6m-none-eabi
9
10
rust : nightly
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ set -euxo pipefail
3
3
main () {
4
4
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
5
5
cargo build
6
- cargo test --tests
6
+ cargo test --test cfail
7
7
return
8
8
fi
9
9
10
10
xargo build --target $TARGET
11
- xargo test --target $TARGET --examples
11
+ xargo check --target $TARGET --examples
12
12
}
13
13
14
14
main
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ use rtfm::app;
9
9
10
10
app ! {
11
11
//~^ error no associated item named `EXTI33` found for type
12
- //~| error no associated item named `EXTI33` found for type
13
12
device: stm32f103xx,
14
13
15
14
tasks: {
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ fn idle() -> ! {
39
39
fn exti0 ( mut ot : & mut Threshold , r : EXTI0 :: Resources ) {
40
40
r. A . claim ( & mut ot, |_a, mut _it| {
41
41
//~^ error cannot borrow `ot` as mutable more than once at a time
42
- //~| error cannot borrow `ot` as mutable more than once at a time
43
42
// ERROR must use inner token `it` instead of the outer one (`ot`)
44
43
r. B . claim ( & mut ot, |_b, _| { } )
45
44
} ) ;
You can’t perform that action at this time.
0 commit comments