diff options
Diffstat (limited to 'tests/ui/statics/static-impl.stderr')
| -rw-r--r-- | tests/ui/statics/static-impl.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/statics/static-impl.stderr b/tests/ui/statics/static-impl.stderr new file mode 100644 index 00000000000..83c3ffbefe1 --- /dev/null +++ b/tests/ui/statics/static-impl.stderr @@ -0,0 +1,13 @@ +warning: method `iter_` is never used + --> $DIR/static-impl.rs:38:8 + | +LL | trait vec_utils<T> { + | --------- method in this trait +LL | fn length_(&self, ) -> usize; +LL | fn iter_<F>(&self, f: F) where F: FnMut(&T); + | ^^^^^ + | + = note: `#[warn(dead_code)]` on by default + +warning: 1 warning emitted + |
