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