File tree Expand file tree Collapse file tree 3 files changed +83
-0
lines changed Expand file tree Collapse file tree 3 files changed +83
-0
lines changed Original file line number Diff line number Diff line change
1
+ error[E0433]: failed to resolve: use of undeclared crate or module `interrupt`
2
+ --> tests/ui/interrupt_wrong_import.rs:11:1
3
+ |
4
+ 11 | #[interrupt]
5
+ | ^^^^^^^^^^^^ use of undeclared crate or module `interrupt`
6
+ |
7
+ = note: this error originates in the attribute macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info)
8
+
9
+ error[E0658]: msp430-interrupt ABI is experimental and subject to change
10
+ --> tests/ui/interrupt_wrong_import.rs:11:1
11
+ |
12
+ 11 | #[interrupt]
13
+ | ^^^^^^^^^^^^
14
+ |
15
+ = note: see issue #38487 <https://github.com/rust-lang/rust/issues/38487> for more information
16
+ = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
17
+ = note: this error originates in the attribute macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info)
18
+
19
+ error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
20
+ --> tests/ui/interrupt_wrong_import.rs:11:1
21
+ |
22
+ 11 | #[interrupt]
23
+ | ^^^^^^^^^^^^
24
+ |
25
+ = note: this error originates in the attribute macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info)
Original file line number Diff line number Diff line change
1
+ error[E0423]: expected function, found built-in attribute `main`
2
+ --> tests/ui/recursion.rs:7:5
3
+ |
4
+ 7 | main(cs)
5
+ | ^^^^ not a function
6
+
7
+ error[E0425]: cannot find function, tuple struct or tuple variant `DefaultHandler` in this scope
8
+ --> tests/ui/recursion.rs:12:5
9
+ |
10
+ 12 | DefaultHandler(cs)
11
+ | ^^^^^^^^^^^^^^ not found in this scope
12
+
13
+ error[E0658]: msp430-interrupt ABI is experimental and subject to change
14
+ --> tests/ui/recursion.rs:10:1
15
+ |
16
+ 10 | #[interrupt]
17
+ | ^^^^^^^^^^^^
18
+ |
19
+ = note: see issue #38487 <https://github.com/rust-lang/rust/issues/38487> for more information
20
+ = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
21
+ = note: this error originates in the attribute macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info)
22
+
23
+ error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
24
+ --> tests/ui/recursion.rs:10:1
25
+ |
26
+ 10 | #[interrupt]
27
+ | ^^^^^^^^^^^^
28
+ |
29
+ = note: this error originates in the attribute macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info)
Original file line number Diff line number Diff line change
1
+ error[E0423]: expected function, found built-in attribute `main`
2
+ --> tests/ui/recursion2.rs:7:5
3
+ |
4
+ 7 | main()
5
+ | ^^^^ not a function
6
+
7
+ error[E0425]: cannot find function, tuple struct or tuple variant `DefaultHandler` in this scope
8
+ --> tests/ui/recursion2.rs:12:5
9
+ |
10
+ 12 | DefaultHandler()
11
+ | ^^^^^^^^^^^^^^ not found in this scope
12
+
13
+ error[E0658]: msp430-interrupt ABI is experimental and subject to change
14
+ --> tests/ui/recursion2.rs:10:1
15
+ |
16
+ 10 | #[interrupt]
17
+ | ^^^^^^^^^^^^
18
+ |
19
+ = note: see issue #38487 <https://github.com/rust-lang/rust/issues/38487> for more information
20
+ = help: add `#![feature(abi_msp430_interrupt)]` to the crate attributes to enable
21
+ = note: this error originates in the attribute macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info)
22
+
23
+ error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
24
+ --> tests/ui/recursion2.rs:10:1
25
+ |
26
+ 10 | #[interrupt]
27
+ | ^^^^^^^^^^^^
28
+ |
29
+ = note: this error originates in the attribute macro `interrupt` (in Nightly builds, run with -Z macro-backtrace for more info)
You can’t perform that action at this time.
0 commit comments