Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
26c8b64
test: audit auto-traits test
Ayuse Mar 26, 2026
a3d9902
test: audit where-clauses test
Ayuse Mar 26, 2026
1d548c1
test: audit let-else test
Ayuse Mar 26, 2026
b11135c
test: audit sized tests
Ayuse Mar 26, 2026
18ecd19
test: audit generics tests
Ayuse Mar 26, 2026
f710333
test: audit moves test
Ayuse Mar 26, 2026
4bca9fa
test: audit specialization test
Ayuse Mar 26, 2026
cc59c27
test: audit non_modrs_mods test
Ayuse Mar 26, 2026
fd5122e
test: audit dropck test
Ayuse Mar 26, 2026
5f429df
test: audit bench test
Ayuse Mar 26, 2026
d45cb22
test: audit explicit-tail-calls test
Ayuse Mar 26, 2026
1c2aca9
test: audit regions test
Ayuse Mar 26, 2026
646c411
test(dropck): revert cleanup arm-conditional to run-pass
Ayuse Mar 31, 2026
f191c6b
test: audit lint tests
Ayuse Mar 31, 2026
6dc402f
test: audit asm test
Ayuse Apr 1, 2026
98da4c5
test: audit associated-types tests
Ayuse Apr 1, 2026
6000031
test: audit box test
Ayuse Apr 1, 2026
fdbd3ef
test: audit coroutine tests
Ayuse Apr 1, 2026
312c24e
test: audit methods test
Ayuse Apr 1, 2026
63c4fdb
test: audit or-patterns test
Ayuse Apr 1, 2026
8520142
test: audit privacy test
Ayuse Apr 1, 2026
ccad0af
test: audit reachable tests
Ayuse Apr 1, 2026
d6befd7
test: audit resolve tests
Ayuse Apr 1, 2026
c6afec7
test: audit array-slice-vec tests
Ayuse Apr 2, 2026
df47aed
test: audit associated-types tests
Ayuse Apr 2, 2026
fbceb56
test: audit async-await tests
Ayuse Apr 2, 2026
3b099ff
test: audit binding tests
Ayuse Apr 2, 2026
484843a
test: audit const-generics tests
Ayuse Apr 2, 2026
49bd80d
test: audit cast tests
Ayuse Apr 2, 2026
199f807
test: audit box tests
Ayuse Apr 2, 2026
06a625a
test: audit builtin-superkinds test
Ayuse Apr 2, 2026
6e8bacb
test: audit imports tests
Ayuse Apr 2, 2026
1516323
test: audit hygiene test
Ayuse Apr 2, 2026
5096b1e
test: audit expr tests
Ayuse Apr 2, 2026
c1f8e97
test: audit enum test
Ayuse Apr 2, 2026
2253fef
test: audit dst tests
Ayuse Apr 2, 2026
d87225f
test: audit regions tests
Ayuse Apr 29, 2026
450bcae
test: audit reachable test
Ayuse Apr 29, 2026
d0d47b5
test: audit explicit-tail-calls test
Ayuse Apr 29, 2026
f19b421
test: audit asm test
Ayuse Apr 29, 2026
a5192da
test: audit methods test
Ayuse Apr 29, 2026
c56df80
test: audit box test
Ayuse Apr 29, 2026
cc994bb
test: audit statics test
Ayuse Apr 29, 2026
0dd079e
test: audit privacy test
Ayuse Apr 29, 2026
67ba380
test: audit type-inference test
Ayuse Apr 29, 2026
2bcc97b
test: audit coroutine tests
Ayuse Apr 29, 2026
d700901
test: audit resolve tests
Ayuse Apr 29, 2026
a596a26
test: audit overloaded test
Ayuse Apr 29, 2026
67d26c0
test: audit trivial-bounds test
Ayuse Apr 29, 2026
4dd5006
test: audit traits tests
Ayuse Apr 29, 2026
6861f59
test: audit traits tests
Ayuse Apr 29, 2026
e220127
test: audit recursion test
Ayuse Apr 29, 2026
0f04874
test: audit ptr_ops test
Ayuse Apr 29, 2026
e54eeb5
test: audit lexer test
Ayuse Apr 29, 2026
103b933
test: audit match tests
Ayuse Apr 29, 2026
b033260
test: audit windows-subsystem tests
Ayuse Apr 29, 2026
068fd2c
test: audit liveness test
Ayuse Apr 29, 2026
827cbdf
test: audit const-generics test
Ayuse Apr 29, 2026
e806a94
test: audit ergonomic-clones test
Ayuse Apr 29, 2026
d7de6d6
test: audit rfcs tests
Ayuse Apr 29, 2026
b116795
test: audit simd tests
Ayuse Apr 29, 2026
0c301bf
test: audit label test
Ayuse Apr 29, 2026
1fedd06
test: audit block-result test
Ayuse Apr 29, 2026
fc088f0
test: audit async-await tests
Ayuse Apr 29, 2026
61ffc83
test: audit expr tests
Ayuse Apr 29, 2026
0b2eebe
test: audit impl-header-lifetime-elision test
Ayuse Apr 29, 2026
0590aa6
test: audit return tests
Ayuse Apr 29, 2026
f61f200
test: audit imports tests
Ayuse Apr 29, 2026
866d83d
test: audit parser tests
Ayuse Apr 29, 2026
6976223
test: audit parser tests
Ayuse Apr 29, 2026
6a73b0e
test: audit packed test
Ayuse Apr 29, 2026
c553b09
test: audit binding tests
Ayuse Apr 29, 2026
ec949db
test: audit codegen test
Ayuse Apr 29, 2026
ee58acc
test: audit tool-attributes tests
Ayuse Apr 29, 2026
3438c90
test: audit lifetimes tests
Ayuse Apr 29, 2026
3bcdd9f
test: audit rustc-env test
Ayuse Apr 29, 2026
2df0990
test: audit abi test
Ayuse Apr 29, 2026
083070c
test: audit coherence tests
Ayuse Apr 29, 2026
4de1978
test: audit borrowck tests
Ayuse Apr 29, 2026
4ea25f2
test: audit binop tests
Ayuse May 4, 2026
ac9dcd4
test: audit autoref-autoderef tests
Ayuse May 4, 2026
ddb9a71
test: audit delegation tests
Ayuse May 5, 2026
eb17281
test: audit enum-discriminant test
Ayuse May 5, 2026
f9a23c6
test: audit nll tests
Ayuse May 5, 2026
cda95f8
test: audit associated-consts tests
Ayuse May 5, 2026
e27528d
test: audit coercion tests
Ayuse May 5, 2026
4571d0f
test: audit statics tests
Ayuse May 5, 2026
8e7716e
test: audit extern tests
Ayuse May 5, 2026
611db94
test: audit modules tests
Ayuse May 5, 2026
d7ada9f
test: audit deriving tests
Ayuse May 5, 2026
c05313e
test: audit borrowck tests
Ayuse May 5, 2026
3114c62
test: audit functions-closures tests
Ayuse May 5, 2026
53ebedc
test: audit closures tests
Ayuse May 5, 2026
b2d92fb
test: audit rfcs, mir, macros tests
Ayuse May 6, 2026
cc47162
test: audit assorted small directories
Ayuse May 6, 2026
b8ff2c6
test: audit singleton tests across directories
Ayuse May 6, 2026
20ebe31
test: audit issues tests
Ayuse May 6, 2026
67587af
test: audit consts tests
Ayuse May 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/ui/auto-traits/auto-is-contextual.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

#![allow(path_statements)]
#![allow(dead_code)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/auto-traits/auto-traits-type-parameter.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Checks how type parameters interact with auto-traits like `Send` and `Sync` with implicit
//! bounds

//@ run-pass
//@ check-pass

#![allow(non_camel_case_types)]
#![allow(dead_code)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/auto-traits/auto-traits.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_doc_comments)]
#![feature(auto_traits)]
#![feature(negative_impls)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/bench/issue-32062.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass


fn main() {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/dropck/cleanup-arm-conditional.rs
Comment thread
Embers-of-the-Fire marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

#![allow(unused_imports)]
// Test that cleanup scope for temporaries created in a match
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/dropck/dropck-empty-array.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

#![allow(dead_code, unused_variables, unused_assignments)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/dropck/dropck_fn_type.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
//! Regression test for #58311, regarding the usage of Fn types in drop impls

// All of this Drop impls should compile.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/dropck/dropck_traits.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
//! Regression test for #34426, regarding HRTB in drop impls

// All of this Drop impls should compile.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/dropck/issue-24805-dropck-itemless.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

// Check that item-less traits do not cause dropck to inject extra
// region constraints.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/dropck/issue-29844.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
use std::sync::Arc;

pub struct DescriptorSet<'a> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
//@ ignore-pass
//@ ignore-backends: gcc
#![expect(incomplete_features)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/default-type-params-well-formedness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! Regression Test for: https://github.com/rust-lang/rust/issues/49344

//@ run-pass
//@ check-pass

#![allow(dead_code)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/empty-generic-brackets-equiv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! Checks` that empty angle brackets <> are syntactically valid and equivalent
//! to omitting type parameters entirely across various language constructs.

//@ run-pass
//@ check-pass

struct S<>;
trait T<> {} //~ WARN trait `T` is never used
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// https://github.com/rust-lang/rust/issues/56237
//@ run-pass
//@ check-pass

use std::ops::Deref;

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/generic-fn-twice.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass



Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/generic-ivec-leak.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(non_camel_case_types)]
enum wrapper<T> { wrapped(#[allow(dead_code)] T), }

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/generic-newtype-struct.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

struct S<T>(#[allow(dead_code)] T);

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/generic-recursive-tag.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(non_camel_case_types)]

enum list<T> { #[allow(dead_code)] cons(Box<T>, Box<list<T>>), nil, }
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/generic-tag-corruption.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(non_camel_case_types)]


Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/generic-tag-local.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(non_camel_case_types)]


Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/generic-tag.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_assignments)]
#![allow(non_camel_case_types)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/generic-type-synonym.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]


Expand Down
2 changes: 1 addition & 1 deletion tests/ui/generics/mid-path-type-params.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

#![allow(dead_code)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/let-else/issue-99975.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
//@ compile-flags: -C opt-level=3 -Zvalidate-mir


Expand Down
2 changes: 1 addition & 1 deletion tests/ui/let-else/let-else-non-copy.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
//
// This is derived from a change to compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs, in
// preparation for adopting let-else within the compiler (thanks @est31):
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/moves/move-nullary-fn.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Issue #922

fn f2<F>(_thing: F) where F: FnOnce() { }
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/non_modrs_mods/non_modrs_mods.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass
//
pub mod modrs_mod;
pub mod foors_mod;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-addr-of-interior-of-unique-box.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]


Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-assoc-type-region-bound.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
// Test that the compiler considers the 'a bound declared in the
// trait. Issue #20890.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-bound-lists-feature-gate-2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]

trait Foo {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-bound-lists-feature-gate.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_variables)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-creating-enums2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-creating-enums5.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-debruijn-of-object.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_variables)]
#![allow(non_camel_case_types)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-dependent-autofn.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Test lifetimes are linked properly when we autoslice a vector.
// Issue #3148.

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-dependent-autoslice.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Test lifetimes are linked properly when we autoslice a vector.
// Issue #3148.

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-dependent-let-ref.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Test lifetimes are linked properly when we take reference
// to interior.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_imports)]
// Test that we are able to compile calls to associated fns like
// `decode()` where the bound on the `Self` parameter references a
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-expl-self.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
// Test that you can insert an explicit lifetime in explicit self.

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-fn-subtyping-2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
// Issue #2263.

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-fn-subtyping.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_assignments)]
// Issue #2263.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-infer-reborrow-ref-mut-recurse.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
// Test an edge case in region inference: the lifetime of the borrow
// of `*x` must be extended to at least 'a.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-issue-21422.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Regression test for issue #21422, which was related to failing to
// add inference constraints that the operands of a binary operator
// should outlive the binary operation itself.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-issue-22246.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_imports)]
// Regression test for issue #22246 -- we should be able to deduce
// that `&'a B::Owned` implies that `B::Owned : 'a`.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-link-fn-args.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Test that region inference correctly links up the regions when a
// `ref` borrow occurs inside a fn argument.

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-lub-ref-ref-rc.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
// Test a corner case of LUB coercion. In this case, one arm of the
// match requires a deref coercion and the other doesn't, and there
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-no-bound-in-argument-cleanup.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

use std::marker;

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-nullary-variant.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-reassign-let-bound-pointer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_assignments)]
#![allow(unused_variables)]
// Check that the type checker permits us to reassign `z` which
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-reassign-match-bound-pointer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_assignments)]
#![allow(unused_variables)]
// Check that the type checker permits us to reassign `z` which
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/regions-scope-chain-example.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_variables)]
// This is an example where the older inference algorithm failed. The
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_variables)]
// Test that a type which is contravariant with respect to its region
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/regions/wf-bound-region-in-object-type.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

#![allow(dead_code)]
#![allow(unused_variables)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/sized/coinductive-2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
struct Node<C: CollectionFactory<Self>> {
_children: C::Collection,
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/specialization/defaultimpl/projection.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]

#![feature(specialization)] //~ WARN the feature `specialization` is incomplete
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(non_upper_case_globals)]


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_variables)]

trait Foo<T> { fn dummy(&self, arg: T) { } } //~ WARN method `dummy` is never used
Expand Down