diff options
| author | Lukas Wirth <lukas.wirth@ferrous-systems.com> | 2025-06-02 10:11:10 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukas.wirth@ferrous-systems.com> | 2025-06-02 11:02:50 +0200 |
| commit | aba70e8f9d66dce7d9980808cc1ce88fab967d3d (patch) | |
| tree | 259cfed27a4a9b872b5f53bd91e17769582ee3bd /tests/ui/allocator | |
| parent | 91fad92585b2dafc52a074e502b2a6c1f093ca35 (diff) | |
| download | rust-aba70e8f9d66dce7d9980808cc1ce88fab967d3d.tar.gz rust-aba70e8f9d66dce7d9980808cc1ce88fab967d3d.zip | |
Add missing `dyn` keywords to tests that do not test for them
This ensures that these tests can be run on editions other than 2015
Diffstat (limited to 'tests/ui/allocator')
| -rw-r--r-- | tests/ui/allocator/auxiliary/helper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/allocator/auxiliary/helper.rs b/tests/ui/allocator/auxiliary/helper.rs index c638546a947..4267b901ca0 100644 --- a/tests/ui/allocator/auxiliary/helper.rs +++ b/tests/ui/allocator/auxiliary/helper.rs @@ -6,6 +6,6 @@ extern crate alloc; use alloc::fmt; -pub fn work_with(p: &fmt::Debug) { +pub fn work_with(p: &dyn fmt::Debug) { drop(p); } |
