rust/tests/ui/associated-consts/double-elided.rs

11 lines
126 B
Rust

//@ check-pass
struct S;
impl S {
const C: &&str = &"";
// Now resolves to `&'static &'static str`.
}
fn main() {}