summaryrefslogtreecommitdiffstats
path: root/tests/ui/cmse-nonsecure/cmse-nonsecure-entry/issue-83475.stderr
blob: 26d3bfe78375bc3db82e6616cc580ab6547e4509 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: attribute should be applied to a function definition
  --> $DIR/issue-83475.rs:6:1
   |
LL | #[cmse_nonsecure_entry]
   | ^^^^^^^^^^^^^^^^^^^^^^^
LL |
LL | struct XEmpty2;
   | --------------- not a function definition

error: aborting due to 1 previous error