From 0866cf591a7fdbbd15bdb3468e192bb9b6189fd0 Mon Sep 17 00:00:00 2001 From: molikto Date: Mon, 23 May 2022 11:25:10 +0800 Subject: [PATCH] fix: tests --- tests/ui/lang/consts/nested-ref.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/lang/consts/nested-ref.stderr b/tests/ui/lang/consts/nested-ref.stderr index e1718942f2..692ea48ed7 100644 --- a/tests/ui/lang/consts/nested-ref.stderr +++ b/tests/ui/lang/consts/nested-ref.stderr @@ -1,6 +1,6 @@ -warning: function `nested_ref::deep_load` has `dont_inline` attribute, but need to be inlined because it has illegal argument or return types +warning: `#[inline(never)]` function `nested_ref::deep_load` needs to be inlined because it has illegal argument or return types -warning: function `nested_ref::deep_transpose` has `dont_inline` attribute, but need to be inlined because it has illegal argument or return types +warning: `#[inline(never)]` function `nested_ref::deep_transpose` needs to be inlined because it has illegal argument or return types warning: 2 warnings emitted