]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/reify-intrinsic.stderr
Rollup merge of #107266 - kadiwa4:source_viewer_scrollbar, r=notriddle
[rust.git] / tests / ui / reify-intrinsic.stderr
index f78f1d822bf608849b0343cfa8189c53ea035888..310b6c224e0e77decd21ddab61faa77db891a777 100644 (file)
@@ -23,9 +23,7 @@ LL |         std::intrinsics::unlikely,
    |
    = note: expected fn item `extern "rust-intrinsic" fn(_) -> _ {likely}`
               found fn item `extern "rust-intrinsic" fn(_) -> _ {unlikely}`
-   = note: different `fn` items always have unique types, even if their signatures are the same
-   = help: change the expected type to be function pointer `extern "rust-intrinsic" fn(bool) -> bool`
-   = help: if the expected type is due to type inference, cast the expected `fn` to a function pointer: `likely as extern "rust-intrinsic" fn(bool) -> bool`
+   = note: different fn items have unique types, even if their signatures are the same
 
 error: aborting due to 3 previous errors