Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit 326bf62

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 cf5292f commit 326bf62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)