rust/src/test/ui/lint/lint-stability-fields-deprecated.stderr

381 lines
12 KiB
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:94:17
2018-08-08 12:28:26 +00:00
|
LL | let x = Deprecated {
| ^^^^^^^^^^
|
note: lint level defined here
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:3:9
2018-08-08 12:28:26 +00:00
|
LL | #![deny(deprecated)]
| ^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:111:13
2018-08-08 12:28:26 +00:00
|
LL | let Deprecated {
| ^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:121:13
2018-08-08 12:28:26 +00:00
|
LL | let Deprecated
| ^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:126:17
2018-08-08 12:28:26 +00:00
|
LL | let x = Deprecated2(1, 2, 3);
| ^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:136:13
2018-08-08 12:28:26 +00:00
|
LL | let Deprecated2
| ^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:145:13
2018-08-08 12:28:26 +00:00
|
LL | let Deprecated2
| ^^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:281:17
2018-08-08 12:28:26 +00:00
|
LL | let x = Deprecated {
| ^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:298:13
2018-08-08 12:28:26 +00:00
|
LL | let Deprecated {
| ^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:308:13
2018-08-08 12:28:26 +00:00
|
LL | let Deprecated
| ^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:313:17
2018-08-08 12:28:26 +00:00
|
LL | let x = Deprecated2(1, 2, 3);
| ^^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:323:13
2018-08-08 12:28:26 +00:00
|
LL | let Deprecated2
| ^^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:332:13
2018-08-08 12:28:26 +00:00
|
LL | let Deprecated2
| ^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Stable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:18:13
2018-08-08 12:28:26 +00:00
|
LL | override2: 3,
| ^^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Stable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:24:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.override2;
| ^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Stable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:30:13
2018-08-08 12:28:26 +00:00
|
LL | override2: _
| ^^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Stable2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:40:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Stable2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:45:20
2018-08-08 12:28:26 +00:00
|
LL | _)
| ^
error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:55:13
2018-08-08 12:28:26 +00:00
|
LL | override2: 3,
| ^^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:61:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.override2;
| ^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:67:13
2018-08-08 12:28:26 +00:00
|
LL | override2: _
| ^^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:80:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Unstable2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:86:14
2018-08-08 12:28:26 +00:00
|
LL | _)
| ^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:96:13
2018-08-08 12:28:26 +00:00
|
LL | inherit: 1,
| ^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:98:13
2018-08-08 12:28:26 +00:00
|
LL | override1: 2,
| ^^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:100:13
2018-08-08 12:28:26 +00:00
|
LL | override2: 3,
| ^^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:104:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.inherit;
| ^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:106:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.override1;
| ^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:108:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.override2;
| ^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::inherit': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:113:13
2018-08-08 12:28:26 +00:00
|
LL | inherit: _,
| ^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:115:13
2018-08-08 12:28:26 +00:00
|
LL | override1: _,
| ^^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:117:13
2018-08-08 12:28:26 +00:00
|
LL | override2: _
| ^^^^^^^^^^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::0': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:129:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.0;
| ^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:131:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.1;
| ^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:133:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::0': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:138:14
2018-08-08 12:28:26 +00:00
|
LL | (_,
| ^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:140:14
2018-08-08 12:28:26 +00:00
|
LL | _,
| ^
error: use of deprecated item 'cross_crate::lint_stability_fields::Deprecated2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:142:14
2018-08-08 12:28:26 +00:00
|
LL | _)
| ^
error: use of deprecated item 'this_crate::Stable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:205:13
2018-08-08 12:28:26 +00:00
|
LL | override2: 3,
| ^^^^^^^^^^^^
error: use of deprecated item 'this_crate::Stable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:211:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.override2;
| ^^^^^^^^^^^
error: use of deprecated item 'this_crate::Stable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:217:13
2018-08-08 12:28:26 +00:00
|
LL | override2: _
| ^^^^^^^^^^^^
error: use of deprecated item 'this_crate::Stable2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:227:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated item 'this_crate::Stable2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:232:20
2018-08-08 12:28:26 +00:00
|
LL | _)
| ^
error: use of deprecated item 'this_crate::Unstable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:242:13
2018-08-08 12:28:26 +00:00
|
LL | override2: 3,
| ^^^^^^^^^^^^
error: use of deprecated item 'this_crate::Unstable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:248:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.override2;
| ^^^^^^^^^^^
error: use of deprecated item 'this_crate::Unstable::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:254:13
2018-08-08 12:28:26 +00:00
|
LL | override2: _
| ^^^^^^^^^^^^
error: use of deprecated item 'this_crate::Unstable2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:267:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated item 'this_crate::Unstable2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:273:14
2018-08-08 12:28:26 +00:00
|
LL | _)
| ^
error: use of deprecated item 'this_crate::Deprecated::inherit': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:283:13
2018-08-08 12:28:26 +00:00
|
LL | inherit: 1,
| ^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated::override1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:285:13
2018-08-08 12:28:26 +00:00
|
LL | override1: 2,
| ^^^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:287:13
2018-08-08 12:28:26 +00:00
|
LL | override2: 3,
| ^^^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated::inherit': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:291:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.inherit;
| ^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated::override1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:293:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.override1;
| ^^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:295:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.override2;
| ^^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated::inherit': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:300:13
2018-08-08 12:28:26 +00:00
|
LL | inherit: _,
| ^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated::override1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:302:13
2018-08-08 12:28:26 +00:00
|
LL | override1: _,
| ^^^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated::override2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:304:13
2018-08-08 12:28:26 +00:00
|
LL | override2: _
| ^^^^^^^^^^^^
error: use of deprecated item 'this_crate::Deprecated2::0': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:316:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.0;
| ^^^
error: use of deprecated item 'this_crate::Deprecated2::1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:318:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.1;
| ^^^
error: use of deprecated item 'this_crate::Deprecated2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:320:17
2018-08-08 12:28:26 +00:00
|
LL | let _ = x.2;
| ^^^
error: use of deprecated item 'this_crate::Deprecated2::0': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:325:14
2018-08-08 12:28:26 +00:00
|
LL | (_,
| ^
error: use of deprecated item 'this_crate::Deprecated2::1': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:327:14
2018-08-08 12:28:26 +00:00
|
LL | _,
| ^
error: use of deprecated item 'this_crate::Deprecated2::2': text
2018-12-25 15:56:47 +00:00
--> $DIR/lint-stability-fields-deprecated.rs:329:14
2018-08-08 12:28:26 +00:00
|
LL | _)
| ^
error: aborting due to 62 previous errors