diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2024-10-31 11:39:45 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2025-01-07 16:04:14 +0100 |
| commit | 585c9765a203df7cc7b497d848aae4ba979fcb39 (patch) | |
| tree | 943e153ace484e7a949d86ecce717a534c8f1847 /tests/ui/lint/function-item-references.rs | |
| parent | e7bd340ba41a327510f36eff96776aaba73f0f60 (diff) | |
| download | rust-585c9765a203df7cc7b497d848aae4ba979fcb39.tar.gz rust-585c9765a203df7cc7b497d848aae4ba979fcb39.zip | |
Update tests.
Diffstat (limited to 'tests/ui/lint/function-item-references.rs')
| -rw-r--r-- | tests/ui/lint/function-item-references.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/lint/function-item-references.rs b/tests/ui/lint/function-item-references.rs index 918d72e28a9..4f2fc4de863 100644 --- a/tests/ui/lint/function-item-references.rs +++ b/tests/ui/lint/function-item-references.rs @@ -11,7 +11,7 @@ fn baz(x: u32, y: u32) -> u32 { x + y } unsafe fn unsafe_fn() { } extern "C" fn c_fn() { } unsafe extern "C" fn unsafe_c_fn() { } -unsafe extern fn variadic(_x: u32, _args: ...) { } +unsafe extern "C" fn variadic(_x: u32, _args: ...) { } fn take_generic_ref<'a, T>(_x: &'a T) { } fn take_generic_array<T, const N: usize>(_x: [T; N]) { } fn multiple_generic<T, U>(_x: T, _y: U) { } |
