Lines Matching full:use
10 use deprecation_lint::*;
16 deprecated(); //~ ERROR use of deprecated function `deprecation_lint::deprecated` in test()
17 …foo.method_deprecated(); //~ ERROR use of deprecated method `deprecation_lint::MethodTester::metho… in test()
18 …Foo::method_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::MethodTester::… in test()
19 …<Foo>::method_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::MethodTester… in test()
20 …foo.trait_deprecated(); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_depreca… in test()
21 …Trait::trait_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_… in test()
22 …<Foo>::trait_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_… in test()
23 …<Foo as Trait>::trait_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trai… in test()
25 … deprecated_text(); //~ ERROR use of deprecated function `deprecation_lint::deprecated_text`: text in test()
26 …foo.method_deprecated_text(); //~ ERROR use of deprecated method `deprecation_lint::MethodTester::… in test()
27 …Foo::method_deprecated_text(&foo); //~ ERROR use of deprecated method `deprecation_lint::MethodTes… in test()
28 …<Foo>::method_deprecated_text(&foo); //~ ERROR use of deprecated method `deprecation_lint::MethodT… in test()
29 …foo.trait_deprecated_text(); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_de… in test()
30 …Trait::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::t… in test()
31 …<Foo>::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::t… in test()
32 …<Foo as Trait>::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `deprecation_lint:… in test()
34 …let _ = DeprecatedStruct { //~ ERROR use of deprecated struct `deprecation_lint::DeprecatedStruct`… in test()
35 i: 0 //~ ERROR use of deprecated field `deprecation_lint::DeprecatedStruct::i`: text in test()
38 …let _ = DeprecatedUnitStruct; //~ ERROR use of deprecated unit struct `deprecation_lint::Deprecate… in test()
40 …let _ = Enum::DeprecatedVariant; //~ ERROR use of deprecated unit variant `deprecation_lint::Enum:… in test()
42 …let _ = DeprecatedTupleStruct (1); //~ ERROR use of deprecated tuple struct `deprecation_lint::Dep… in test()
44 …let _ = nested::DeprecatedStruct { //~ ERROR use of deprecated struct `deprecation_lint::nested::D… in test()
45 … i: 0 //~ ERROR use of deprecated field `deprecation_lint::nested::DeprecatedStruct::i`: text in test()
48 …let _ = nested::DeprecatedUnitStruct; //~ ERROR use of deprecated unit struct `deprecation_lint::n… in test()
50 …let _ = nested::Enum::DeprecatedVariant; //~ ERROR use of deprecated unit variant `deprecation_lin… in test()
52 …let _ = nested::DeprecatedTupleStruct (1); //~ ERROR use of deprecated tuple struct `deprecation_l… in test()
59 …macro_test_arg!(deprecated_text()); //~ ERROR use of deprecated function `deprecation_lint::deprec… in test()
60 …macro_test_arg!(macro_test_arg!(deprecated_text())); //~ ERROR use of deprecated function `depreca… in test()
64 …foo.trait_deprecated(); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_depreca… in test_method_param()
65 …Trait::trait_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_… in test_method_param()
66 …<Foo>::trait_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_… in test_method_param()
67 …<Foo as Trait>::trait_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trai… in test_method_param()
68 …foo.trait_deprecated_text(); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_de… in test_method_param()
69 …Trait::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::t… in test_method_param()
70 …<Foo>::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::t… in test_method_param()
71 …<Foo as Trait>::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `deprecation_lint:… in test_method_param()
75 …foo.trait_deprecated(); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_depreca… in test_method_object()
76 …foo.trait_deprecated_text(); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_de… in test_method_object()
81 …impl DeprecatedTrait for S {} //~ ERROR use of deprecated trait `deprecation_lint::DeprecatedTrait…
82 …trait LocalTrait : DeprecatedTrait { } //~ ERROR use of deprecated trait `deprecation_lint::Deprec…
87 //~^ ERROR use of deprecated field `deprecation_lint::Stable::override2`: text in foo()
91 //~^ ERROR use of deprecated field `deprecation_lint::Stable::override2`: text in foo()
95 //~^ ERROR use of deprecated field `deprecation_lint::Stable::override2`: text in foo()
103 //~^ ERROR use of deprecated field `deprecation_lint::Stable2::2`: text in foo()
108 //~^ ERROR use of deprecated field `deprecation_lint::Stable2::2`: text in foo()
114 //~^ ERROR use of deprecated struct `deprecation_lint::Deprecated`: text in foo()
116 //~^ ERROR use of deprecated field `deprecation_lint::Deprecated::inherit`: text in foo()
120 //~^ ERROR use of deprecated field `deprecation_lint::Deprecated::inherit`: text in foo()
123 //~^ ERROR use of deprecated struct `deprecation_lint::Deprecated`: text in foo()
125 //~^ ERROR use of deprecated field `deprecation_lint::Deprecated::inherit`: text in foo()
129 //~^ ERROR use of deprecated struct `deprecation_lint::Deprecated`: text in foo()
133 //~^ ERROR use of deprecated tuple struct `deprecation_lint::Deprecated2`: text in foo()
136 //~^ ERROR use of deprecated field `deprecation_lint::Deprecated2::0`: text in foo()
138 //~^ ERROR use of deprecated field `deprecation_lint::Deprecated2::1`: text in foo()
140 //~^ ERROR use of deprecated field `deprecation_lint::Deprecated2::2`: text in foo()
143 //~^ ERROR use of deprecated tuple struct `deprecation_lint::Deprecated2`: text in foo()
145 //~^ ERROR use of deprecated field `deprecation_lint::Deprecated2::0`: text in foo()
147 //~^ ERROR use of deprecated field `deprecation_lint::Deprecated2::1`: text in foo()
149 //~^ ERROR use of deprecated field `deprecation_lint::Deprecated2::2`: text in foo()
152 //~^ ERROR use of deprecated tuple struct `deprecation_lint::Deprecated2`: text in foo()
159 use deprecation_lint::*;
162 …deprecated_mod::deprecated(); //~ ERROR use of deprecated function `deprecation_lint::deprecated_m… in test_inheritance()
236 use self::nested; in test()
245 deprecated(); //~ ERROR use of deprecated function `this_crate::deprecated` in test()
246 …foo.method_deprecated(); //~ ERROR use of deprecated method `this_crate::MethodTester::method_depr… in test()
247 …Foo::method_deprecated(&foo); //~ ERROR use of deprecated method `this_crate::MethodTester::method… in test()
248 …<Foo>::method_deprecated(&foo); //~ ERROR use of deprecated method `this_crate::MethodTester::meth… in test()
249 … foo.trait_deprecated(); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprecated` in test()
250 …Trait::trait_deprecated(&foo); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprec… in test()
251 …<Foo>::trait_deprecated(&foo); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprec… in test()
252 …<Foo as Trait>::trait_deprecated(&foo); //~ ERROR use of deprecated method `this_crate::Trait::tra… in test()
254 deprecated_text(); //~ ERROR use of deprecated function `this_crate::deprecated_text`: text in test()
255 …foo.method_deprecated_text(); //~ ERROR use of deprecated method `this_crate::MethodTester::method… in test()
256 …Foo::method_deprecated_text(&foo); //~ ERROR use of deprecated method `this_crate::MethodTester::m… in test()
257 …<Foo>::method_deprecated_text(&foo); //~ ERROR use of deprecated method `this_crate::MethodTester:… in test()
258 …foo.trait_deprecated_text(); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprecat… in test()
259 …Trait::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `this_crate::Trait::trait_d… in test()
260 …<Foo>::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `this_crate::Trait::trait_d… in test()
261 …<Foo as Trait>::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `this_crate::Trait… in test()
264 deprecated_future(); //~ ERROR use of deprecated function in test()
265 deprecated_future_text(); //~ ERROR use of deprecated function in test()
268 //~^ ERROR use of deprecated struct `this_crate::DeprecatedStruct`: text in test()
269 i: 0 //~ ERROR use of deprecated field `this_crate::DeprecatedStruct::i`: text in test()
272 …let _ = DeprecatedUnitStruct; //~ ERROR use of deprecated unit struct `this_crate::DeprecatedUnitS… in test()
274 …let _ = Enum::DeprecatedVariant; //~ ERROR use of deprecated unit variant `this_crate::Enum::Depre… in test()
276 …let _ = DeprecatedTupleStruct (1); //~ ERROR use of deprecated tuple struct `this_crate::Deprecate… in test()
279 //~^ ERROR use of deprecated struct `this_crate::nested::DeprecatedStruct`: text in test()
280 i: 0 //~ ERROR use of deprecated field `this_crate::nested::DeprecatedStruct::i`: text in test()
284 …let _ = nested::DeprecatedUnitStruct; //~ ERROR use of deprecated unit struct `this_crate::nested:… in test()
286 …let _ = nested::Enum::DeprecatedVariant; //~ ERROR use of deprecated unit variant `this_crate::nes… in test()
288 …let _ = nested::DeprecatedTupleStruct (1); //~ ERROR use of deprecated tuple struct `this_crate::n… in test()
292 … foo.trait_deprecated(); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprecated` in test_method_param()
293 …Trait::trait_deprecated(&foo); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprec… in test_method_param()
294 …<Foo>::trait_deprecated(&foo); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprec… in test_method_param()
295 …<Foo as Trait>::trait_deprecated(&foo); //~ ERROR use of deprecated method `this_crate::Trait::tra… in test_method_param()
296 …foo.trait_deprecated_text(); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprecat… in test_method_param()
297 …Trait::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `this_crate::Trait::trait_d… in test_method_param()
298 …<Foo>::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `this_crate::Trait::trait_d… in test_method_param()
299 …<Foo as Trait>::trait_deprecated_text(&foo); //~ ERROR use of deprecated method `this_crate::Trait… in test_method_param()
303 … foo.trait_deprecated(); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprecated` in test_method_object()
304 …foo.trait_deprecated_text(); //~ ERROR use of deprecated method `this_crate::Trait::trait_deprecat… in test_method_object()
317 … bar(); //~ ERROR use of deprecated function `this_crate::test_fn_closure_body::{closure#0}::bar` in test_fn_closure_body()
336 …impl DeprecatedTrait for S { } //~ ERROR use of deprecated trait `this_crate::DeprecatedTrait`: te…
338 …trait LocalTrait : DeprecatedTrait { } //~ ERROR use of deprecated trait `this_crate::DeprecatedTr…
364 //~^ ERROR use of deprecated field `this_crate2::Stable::override2`: text in foo()
368 //~^ ERROR use of deprecated field `this_crate2::Stable::override2`: text in foo()
372 //~^ ERROR use of deprecated field `this_crate2::Stable::override2`: text in foo()
380 //~^ ERROR use of deprecated field `this_crate2::Stable2::2`: text in foo()
385 //~^ ERROR use of deprecated field `this_crate2::Stable2::2`: text in foo()
391 //~^ ERROR use of deprecated struct `this_crate2::Deprecated`: text in foo()
393 //~^ ERROR use of deprecated field `this_crate2::Deprecated::inherit`: text in foo()
397 //~^ ERROR use of deprecated field `this_crate2::Deprecated::inherit`: text in foo()
400 //~^ ERROR use of deprecated struct `this_crate2::Deprecated`: text in foo()
402 //~^ ERROR use of deprecated field `this_crate2::Deprecated::inherit`: text in foo()
406 //~^ ERROR use of deprecated struct `this_crate2::Deprecated`: text in foo()
411 //~^ ERROR use of deprecated tuple struct `this_crate2::Deprecated2`: text in foo()
414 //~^ ERROR use of deprecated field `this_crate2::Deprecated2::0`: text in foo()
416 //~^ ERROR use of deprecated field `this_crate2::Deprecated2::1`: text in foo()
418 //~^ ERROR use of deprecated field `this_crate2::Deprecated2::2`: text in foo()
421 //~^ ERROR use of deprecated tuple struct `this_crate2::Deprecated2`: text in foo()
423 //~^ ERROR use of deprecated field `this_crate2::Deprecated2::0`: text in foo()
425 //~^ ERROR use of deprecated field `this_crate2::Deprecated2::1`: text in foo()
427 //~^ ERROR use of deprecated field `this_crate2::Deprecated2::2`: text in foo()
430 //~^ ERROR use of deprecated tuple struct `this_crate2::Deprecated2`: text in foo()
436 #[deprecated(note = "Use something else instead")]