Skip to content

Commit 1d790bd

Browse files
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)
1 parent f6729db commit 1d790bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-m-rt/tests/compile-fail/interrupt-invalid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extern crate panic_halt;
77
use cortex_m_rt::{entry, interrupt};
88

99
#[entry]
10-
fn foo() -> ! {
10+
fn entry() -> ! {
1111
loop {}
1212
}
1313

0 commit comments

Comments
 (0)