()
| 61 | |
| 62 | #[test] |
| 63 | fn forbidden_simple() { |
| 64 | assert_eq!(check_and_reset(), false); |
| 65 | assert_no_alloc(|| { |
| 66 | do_alloc(); |
| 67 | }); |
| 68 | assert_eq!(check_and_reset(), true); |
| 69 | } |
| 70 | |
| 71 | #[test] |
| 72 | fn forbidden_in_nested() { |
nothing calls this directly
no test coverage detected