Closed
Description
I.e. making something like
const PRIV: usize = 10;
pub fn f() -> [u8; PRIV] { ... };
a privacy error/warning.
Some discussion in #29973 (comment) and below.
There are unresolved questions - what exactly should be checked - all signatures, all signatures except for constant initializers, const function bodies?