diff options
author | 2019-11-21 22:06:33 +0100 | |
---|---|---|
committer | 2019-11-21 22:27:44 +0100 | |
commit | 1d790bd2858b2c1827322eb872a2e05f05bcd694 (patch) | |
tree | 2bf1b7e26643f06fa52ea47ca868dd7e6aef554f | |
parent | f6729db2e7004954606a020d8fb67a7589e679e5 (diff) | |
download | cortex-m-1d790bd2858b2c1827322eb872a2e05f05bcd694.tar.gz cortex-m-1d790bd2858b2c1827322eb872a2e05f05bcd694.tar.zst cortex-m-1d790bd2858b2c1827322eb872a2e05f05bcd694.zip |
Rename a function to not collide
Functions with the same name in the same module will now collide
(just like they do in normal Rust code)
-rw-r--r-- | cortex-m-rt/tests/compile-fail/interrupt-invalid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs b/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs index 4e568eb..e915518 100644 --- a/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs +++ b/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs @@ -7,7 +7,7 @@ extern crate panic_halt; use cortex_m_rt::{entry, interrupt}; #[entry] -fn foo() -> ! { +fn entry() -> ! { loop {} } |