rust/tests/ui/cross-crate/auxiliary/cci_borrow_lib.rs

4 lines
42 B
Rust

pub fn foo(x: &usize) -> usize {
*x
}