Add #![feature(param_attrs)] to enable exception example#231
Add #![feature(param_attrs)] to enable exception example#231bobgates wants to merge 1 commit intorust-embedded:masterfrom
Conversation
On rust V1.39 nightly, at least, the exceptions example gives an error. Adding a line to the example allows it to run.
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @andre-richter (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
|
Hi @bobgates, I believe that is a fluke in the nightly build you're using because param_attrs where stabilized around that time, cf. rust-lang/rust#64010. |
|
Okay, with a current Rust nightly 1.44, this problem goes away. |
On rust V1.39 nightly, at least, the exceptions example gives an error. Adding a line to the example allows it to run.
I'm very green at rust embedded, so there may be better ways, but this makes the example work.