borrowscope-macro 0.1.1

Procedural macros for BorrowScope ownership tracking
Documentation
1
2
3
4
5
6
7
8
9
use borrowscope_macro::trace_borrow;

#[trace_borrow]
const fn example() -> i32 {
    let x = 42;
    x
}

fn main() {}