rust/tests/ui/lifetimes/issue-91763.rs
2024-02-16 20:02:50 +00:00

12 lines
226 B
Rust

//@ aux-build:issue-91763-aux.rs
#![deny(elided_lifetimes_in_paths)]
extern crate issue_91763_aux;
#[issue_91763_aux::repro]
fn f() -> Ptr<Thing>;
//~^ ERROR hidden lifetime parameters in types are deprecated
fn main() {}