diff options
| author | r0cky <mu001999@outlook.com> | 2024-02-07 10:42:01 +0800 |
|---|---|---|
| committer | r0cky <mu001999@outlook.com> | 2024-02-07 10:42:01 +0800 |
| commit | c7519d42c2664828c98fdb98acab73e9a39b0b97 (patch) | |
| tree | 87e875c88b08158761df546ea4e88902fbb08d6a /tests/ui/statics/static-impl.rs | |
| parent | 40878ca6ea79d6e55e430846a2de3350a76cd08f (diff) | |
| download | rust-c7519d42c2664828c98fdb98acab73e9a39b0b97.tar.gz rust-c7519d42c2664828c98fdb98acab73e9a39b0b97.zip | |
Update tests
Diffstat (limited to 'tests/ui/statics/static-impl.rs')
| -rw-r--r-- | tests/ui/statics/static-impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/statics/static-impl.rs b/tests/ui/statics/static-impl.rs index e7bdb38ee62..9e2db7e0caf 100644 --- a/tests/ui/statics/static-impl.rs +++ b/tests/ui/statics/static-impl.rs @@ -35,7 +35,7 @@ impl uint_utils for usize { trait vec_utils<T> { fn length_(&self, ) -> usize; - fn iter_<F>(&self, f: F) where F: FnMut(&T); + fn iter_<F>(&self, f: F) where F: FnMut(&T); //~ WARN method `iter_` is never used fn map_<U, F>(&self, f: F) -> Vec<U> where F: FnMut(&T) -> U; } |
