From 0b14bd4741eb0863dc149985ee60d29fad21bb26 Mon Sep 17 00:00:00 2001 From: mejrs <59372212+mejrs@users.noreply.github.com> Date: Tue, 24 Feb 2026 10:56:32 +0100 Subject: [PATCH] Rebase on new #[feature] parsing --- tests/ui/unpretty/diagnostic-attr.stdout | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/ui/unpretty/diagnostic-attr.stdout b/tests/ui/unpretty/diagnostic-attr.stdout index 93a4717376fe..4dc0c54633d7 100644 --- a/tests/ui/unpretty/diagnostic-attr.stdout +++ b/tests/ui/unpretty/diagnostic-attr.stdout @@ -1,10 +1,10 @@ -//@ compile-flags: -Zunpretty=hir -//@ check-pass -//@ edition: 2015 -#![feature(diagnostic_on_const)] +#![attr = Feature([diagnostic_on_const#0])] extern crate std; #[attr = PreludeImport] use ::std::prelude::rust_2015::*; +//@ compile-flags: -Zunpretty=hir +//@ check-pass +//@ edition: 2015 #[attr = OnUnimplemented {directive: Directive {is_rustc_attr: false, subcommands: [],