diff options
| author | Michael Goulet <michael@errs.io> | 2023-08-28 02:37:38 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-08-30 15:09:40 -0700 |
| commit | bf66723c0ecbadc3b4b24da44fa02b7ea3cd73bb (patch) | |
| tree | 3239ecc9f73116928e02f714a72410b16f89854c /tests/ui/issues | |
| parent | 0100a94231344987bc93998d5975e656bfd7767d (diff) | |
| download | rust-bf66723c0ecbadc3b4b24da44fa02b7ea3cd73bb.tar.gz rust-bf66723c0ecbadc3b4b24da44fa02b7ea3cd73bb.zip | |
Test and note unsafe ctor to fn ptr coercion
Also remove a note that I don't consider to be very useful in context.
Diffstat (limited to 'tests/ui/issues')
| -rw-r--r-- | tests/ui/issues/issue-10764.stderr | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-10764.stderr b/tests/ui/issues/issue-10764.stderr index fcb45affe2c..4d8a85a1397 100644 --- a/tests/ui/issues/issue-10764.stderr +++ b/tests/ui/issues/issue-10764.stderr @@ -8,7 +8,6 @@ LL | fn main() { f(bar) } | = note: expected fn pointer `fn()` found fn item `extern "C" fn() {bar}` - = note: when the arguments and return types match, functions can be coerced to function pointers note: function defined here --> $DIR/issue-10764.rs:1:4 | |
