]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lint/lint-ctypes-73249-2.rs
Handle `#[expect(unfulfilled_lint_expectations)]` with a lint message
[rust.git] / src / test / ui / lint / lint-ctypes-73249-2.rs
index 691047c8a405b56551985c1b26f21aa99f6efbb1..fe578f51b63a0e4280b580764c0458b5eb7f5139 100644 (file)
@@ -23,7 +23,7 @@ pub struct A<T: Foo> {
 }
 
 extern "C" {
-    pub fn lint_me() -> A<()>; //~ ERROR: uses type `Qux`
+    pub fn lint_me() -> A<()>; //~ ERROR: uses type `impl Baz`
 }
 
 fn main() {}