File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 207
207
//! trampoline is required to set up the pointer to the stacked exception frame.
208
208
//!
209
209
//! - `HardFault`. This is the user defined hard fault handler. If not overridden using
210
- //! `#[exception] fn HardFault(..` it will default to a panic with message "Hardfault ".
210
+ //! `#[exception] fn HardFault(..` it will default to a panic with message "HardFault ".
211
211
//!
212
212
//! - `__STACK_START`. This is the first entry in the `.vector_table` section. This symbol contains
213
213
//! the initial value of the stack pointer; this is where the stack will be located -- the stack
@@ -945,7 +945,7 @@ pub unsafe extern "C" fn Reset() -> ! {
945
945
#[ link_section = ".HardFault.default" ]
946
946
#[ no_mangle]
947
947
pub unsafe extern "C" fn HardFault_ ( ef : & ExceptionFrame ) -> ! {
948
- panic ! ( "Hardfault " ) ;
948
+ panic ! ( "HardFault " ) ;
949
949
}
950
950
951
951
#[ doc( hidden) ]
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ enum interrupt {
19
19
// NOTE this looks a bit better when using a device crate:
20
20
// "no variant named `foo` found for type `stm32f30x::Interrupt` in the current scope"
21
21
#[ interrupt]
22
- fn foo ( ) { } //~ ERROR no variant or associated item named `foo` found for type `interrupt` in the current scope
22
+ fn foo ( ) { } //~ ERROR no variant or associated item named `foo` found for enum `interrupt` in the current scope [E0599]
You can’t perform that action at this time.
0 commit comments