aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2019-11-21 18:58:14 +0000
committerGravatar GitHub <noreply@github.com> 2019-11-21 18:58:14 +0000
commit2f11f0b439a610f4716375d0b0c5005f7e63cf40 (patch)
tree66f3002d9475caa14738eea891fa02558e37348f /cortex-m-rt/tests/compile-fail/interrupt-invalid.rs
parent83aa30930babdbec0acd61bece8f116ce52bf036 (diff)
parent0ada35e95d033bdc3e725a62d06ef9843bec5e3c (diff)
downloadcortex-m-2f11f0b439a610f4716375d0b0c5005f7e63cf40.tar.gz
cortex-m-2f11f0b439a610f4716375d0b0c5005f7e63cf40.tar.zst
cortex-m-2f11f0b439a610f4716375d0b0c5005f7e63cf40.zip
Merge #216
216: Fix compiletest tests r=therealprof a=jonas-schievink Closes https://github.com/rust-embedded/cortex-m-rt/issues/215 Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/interrupt-invalid.rs')
-rw-r--r--cortex-m-rt/tests/compile-fail/interrupt-invalid.rs2
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 9b1482a..4e568eb 100644
--- a/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs
+++ b/cortex-m-rt/tests/compile-fail/interrupt-invalid.rs
@@ -19,4 +19,4 @@ enum interrupt {
// NOTE this looks a bit better when using a device crate:
// "no variant named `foo` found for type `stm32f30x::Interrupt` in the current scope"
#[interrupt]
-fn foo() {} //~ ERROR no variant named `foo` found for type `interrupt` in the current scope
+fn foo() {} //~ ERROR no variant or associated item named `foo` found for type `interrupt` in the current scope