Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
// build-pass (FIXME(62277): could be check-pass?)
#![deny(warnings)]
#[deprecated]
trait Deprecated {}
struct DeprecatedTy;
#[allow(deprecated)]
impl Deprecated for DeprecatedTy {}
fn foo() -> impl Deprecated { DeprecatedTy }
fn main() {
foo();
}