2022-05-21 21:25:40 -05:00
|
|
|
warning: `#[macro_escape]` is a deprecated synonym for `#[macro_use]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:400:17
|
2022-05-21 21:25:40 -05:00
|
|
|
|
|
|
|
|
LL | mod inner { #![macro_escape] }
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: try an outer attribute: `#[macro_use]`
|
|
|
|
|
|
|
|
warning: `#[macro_escape]` is a deprecated synonym for `#[macro_use]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:397:1
|
2022-05-21 21:25:40 -05:00
|
|
|
|
|
|
|
|
LL | #[macro_escape]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
2017-12-06 02:27:47 -06:00
|
|
|
warning: unknown lint: `x5400`
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:46:9
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #![warn(x5400)]
|
2019-01-01 17:21:05 -06:00
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:40:28
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #![warn(unused_attributes, unknown_lints)]
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: unknown lint: `x5300`
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:47:10
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #![allow(x5300)]
|
2019-01-01 17:21:05 -06:00
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5200`
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:48:11
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #![forbid(x5200)]
|
2019-01-01 17:21:05 -06:00
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5100`
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:49:9
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #![deny(x5100)]
|
2019-01-01 17:21:05 -06:00
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5400`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:105:8
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[warn(x5400)]
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5400`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:108:25
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![warn(x5400)] }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5400`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:111:12
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[warn(x5400)] fn f() { }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5400`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:114:12
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[warn(x5400)] struct S;
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5400`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:117:12
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[warn(x5400)] type T = S;
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5400`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:120:12
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[warn(x5400)] impl S { }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5300`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:124:9
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[allow(x5300)]
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5300`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:127:26
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![allow(x5300)] }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5300`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:130:13
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[allow(x5300)] fn f() { }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5300`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:133:13
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[allow(x5300)] struct S;
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5300`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:136:13
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[allow(x5300)] type T = S;
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5300`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:139:13
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[allow(x5300)] impl S { }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5200`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:143:10
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[forbid(x5200)]
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5200`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:146:27
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![forbid(x5200)] }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5200`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:149:14
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[forbid(x5200)] fn f() { }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5200`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:152:14
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[forbid(x5200)] struct S;
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5200`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:155:14
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[forbid(x5200)] type T = S;
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5200`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:158:14
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[forbid(x5200)] impl S { }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5100`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:162:8
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[deny(x5100)]
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5100`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:165:25
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![deny(x5100)] }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5100`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:168:12
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[deny(x5100)] fn f() { }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5100`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:171:12
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[deny(x5100)] struct S;
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5100`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:174:12
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[deny(x5100)] type T = S;
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: unknown lint: `x5100`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:177:12
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[deny(x5100)] impl S { }
|
|
|
|
| ^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-09-14 16:53:14 -05:00
|
|
|
warning: use of deprecated attribute `crate_id`: no longer used.
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:84:1
|
2019-09-14 16:53:14 -05:00
|
|
|
|
|
|
|
|
LL | #![crate_id = "10"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^ help: remove this attribute
|
2021-05-14 08:37:53 -05:00
|
|
|
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
2019-09-14 16:53:14 -05:00
|
|
|
|
|
|
|
warning: use of deprecated attribute `no_start`: no longer used.
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:94:1
|
2019-09-14 16:53:14 -05:00
|
|
|
|
|
|
|
|
LL | #![no_start]
|
|
|
|
| ^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_export]` only has an effect on macro definitions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:198:1
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[macro_export]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:40:9
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #![warn(unused_attributes, unknown_lints)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-08-02 22:11:22 -05:00
|
|
|
warning: `#[automatically_derived]` only has an effect on implementation blocks
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:266:1
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[automatically_derived]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2021-08-10 13:41:57 -05:00
|
|
|
warning: attribute should be applied to a free function, impl method or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:284:1
|
2020-09-05 21:12:24 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | / mod no_mangle {
|
|
|
|
LL | |
|
|
|
|
LL | | mod inner { #![no_mangle] }
|
|
|
|
LL | |
|
|
|
|
... |
|
2021-08-10 13:41:57 -05:00
|
|
|
LL | | }
|
2020-09-05 21:12:24 -05:00
|
|
|
LL | | }
|
2021-08-10 13:41:57 -05:00
|
|
|
| |_- not a free function, impl method or static
|
2020-09-05 21:12:24 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[should_panic]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:324:1
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[should_panic]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: `#[ignore]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:342:1
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[ignore]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:377:1
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[reexport_test_harness_main = "2900"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:417:1
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[no_std]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2022-07-11 12:59:04 -05:00
|
|
|
warning: attribute should be applied to a function definition
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:453:1
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
|
|
|
LL | #[cold]
|
|
|
|
| ^^^^^^^
|
|
|
|
...
|
|
|
|
LL | / mod cold {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | mod inner { #![cold] }
|
|
|
|
... |
|
|
|
|
LL | |
|
|
|
|
LL | | }
|
2022-07-11 12:59:04 -05:00
|
|
|
| |_- not a function definition
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
|
|
|
warning: attribute should be applied to a foreign function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:482:1
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
|
|
|
LL | #[link_name = "1900"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | / mod link_name {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | #[link_name = "1900"]
|
|
|
|
... |
|
|
|
|
LL | |
|
|
|
|
LL | | }
|
|
|
|
| |_- not a foreign function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
|
|
|
warning: attribute should be applied to a function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:521:1
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
|
|
|
LL | #[link_section = "1800"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | / mod link_section {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | mod inner { #![link_section="1800"] }
|
|
|
|
... |
|
|
|
|
LL | |
|
|
|
|
LL | | }
|
|
|
|
| |_- not a function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
warning: attribute should be applied to an `extern` block with non-Rust ABI
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:553:1
|
2022-01-09 13:28:40 -06:00
|
|
|
|
|
|
|
|
LL | #[link()]
|
|
|
|
| ^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | / mod link {
|
|
|
|
LL | |
|
|
|
|
LL | |
|
|
|
|
LL | | mod inner { #![link()] }
|
|
|
|
... |
|
|
|
|
LL | |
|
|
|
|
LL | | }
|
|
|
|
| |_- not an `extern` block
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-02-11 18:21:02 -06:00
|
|
|
warning: `#[must_use]` has no effect when applied to a module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:604:1
|
2022-02-11 18:21:02 -06:00
|
|
|
|
|
|
|
|
LL | #[must_use]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:617:1
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[windows_subsystem = "windows"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:638:1
|
2020-09-21 09:37:37 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_name = "0900"]
|
2020-10-03 13:45:39 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-05 21:12:24 -05:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:657:1
|
2020-09-05 21:12:24 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_type = "0800"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-05 21:12:24 -05:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:676:1
|
2020-09-05 21:12:24 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[feature(x0600)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2020-09-05 21:12:24 -05:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:696:1
|
2021-08-10 13:41:57 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[no_main]
|
|
|
|
| ^^^^^^^^^^
|
2021-08-10 13:41:57 -05:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:715:1
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[no_builtins]
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:734:1
|
2021-08-10 13:41:57 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[recursion_limit="0200"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-08-10 13:41:57 -05:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:753:1
|
2020-09-05 21:12:24 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[type_length_limit="0100"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-05 21:12:24 -05:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[should_panic]` only has an effect on functions
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:53:1
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #![should_panic]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2020-07-11 09:29:35 -05:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[ignore]` only has an effect on functions
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:54:1
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #![ignore]
|
|
|
|
| ^^^^^^^^^^
|
2020-07-11 09:29:35 -05:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[proc_macro_derive]` only has an effect on functions
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:60:1
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #![proc_macro_derive()]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-11 09:29:35 -05:00
|
|
|
|
2022-07-11 12:59:04 -05:00
|
|
|
warning: attribute should be applied to a function definition
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:62:1
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #![cold]
|
2022-11-04 11:04:47 -05:00
|
|
|
| ^^^^^^^^ cannot be applied to crates
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
warning: attribute should be applied to an `extern` block with non-Rust ABI
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:64:1
|
|
|
|
|
|
|
|
|
LL | #![link()]
|
2022-11-04 11:04:47 -05:00
|
|
|
| ^^^^^^^^^^ not an `extern` block
|
2022-01-09 13:28:40 -06:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2020-07-11 09:29:35 -05:00
|
|
|
warning: attribute should be applied to a foreign function or static
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:66:1
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #![link_name = "1900"]
|
2022-11-04 11:04:47 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ not a foreign function or static
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
|
|
|
warning: attribute should be applied to a function or static
|
2022-01-09 13:28:40 -06:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:69:1
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #![link_section = "1800"]
|
2022-11-04 11:04:47 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not a function or static
|
2020-07-11 09:29:35 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-02-11 18:21:02 -06:00
|
|
|
warning: `#[must_use]` has no effect when applied to a module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:72:1
|
2022-02-11 18:21:02 -06:00
|
|
|
|
|
|
|
|
LL | #![must_use]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_use]` only has an effect on `extern crate` and modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:185:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2018-04-15 08:59:00 -05:00
|
|
|
LL | #[macro_use] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_use]` only has an effect on `extern crate` and modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:188:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_use] struct S;
|
|
|
|
| ^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_use]` only has an effect on `extern crate` and modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:191:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_use] type T = S;
|
|
|
|
| ^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_use]` only has an effect on `extern crate` and modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:194:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_use] impl S { }
|
|
|
|
| ^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_export]` only has an effect on macro definitions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:201:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | mod inner { #![macro_export] }
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_export]` only has an effect on macro definitions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:204:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[macro_export] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_export]` only has an effect on macro definitions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:207:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[macro_export] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_export]` only has an effect on macro definitions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:210:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[macro_export] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_export]` only has an effect on macro definitions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:213:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[macro_export] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[path]` only has an effect on modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:253:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[path = "3800"] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[path]` only has an effect on modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:256:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[path = "3800"] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[path]` only has an effect on modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:259:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[path = "3800"] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[path]` only has an effect on modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:262:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[path = "3800"] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-08-02 22:11:22 -05:00
|
|
|
warning: `#[automatically_derived]` only has an effect on implementation blocks
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:269:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | mod inner { #![automatically_derived] }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-08-02 22:11:22 -05:00
|
|
|
warning: `#[automatically_derived]` only has an effect on implementation blocks
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:272:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[automatically_derived] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-08-02 22:11:22 -05:00
|
|
|
warning: `#[automatically_derived]` only has an effect on implementation blocks
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:275:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[automatically_derived] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-08-02 22:11:22 -05:00
|
|
|
warning: `#[automatically_derived]` only has an effect on implementation blocks
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:278:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[automatically_derived] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a free function, impl method or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:289:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | mod inner { #![no_mangle] }
|
|
|
|
| ------------^^^^^^^^^^^^^-- not a free function, impl method or static
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a free function, impl method or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:296:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[no_mangle] struct S;
|
|
|
|
| ^^^^^^^^^^^^ --------- not a free function, impl method or static
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
|
|
|
warning: attribute should be applied to a free function, impl method or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:301:5
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] type T = S;
|
|
|
|
| ^^^^^^^^^^^^ ----------- not a free function, impl method or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
|
|
|
warning: attribute should be applied to a free function, impl method or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:306:5
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] impl S { }
|
|
|
|
| ^^^^^^^^^^^^ ---------- not a free function, impl method or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
|
|
|
warning: attribute should be applied to a free function, impl method or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:312:9
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] fn foo();
|
|
|
|
| ^^^^^^^^^^^^ --------- not a free function, impl method or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
|
|
|
warning: attribute should be applied to a free function, impl method or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:317:9
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[no_mangle] fn bar() {}
|
|
|
|
| ^^^^^^^^^^^^ ----------- not a free function, impl method or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[should_panic]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:327:17
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | mod inner { #![should_panic] }
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: `#[should_panic]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:332:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[should_panic] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[should_panic]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:335:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[should_panic] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[should_panic]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:338:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[should_panic] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[ignore]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:345:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | mod inner { #![ignore] }
|
|
|
|
| ^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[ignore]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:350:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[ignore] struct S;
|
|
|
|
| ^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[ignore]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:353:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[ignore] type T = S;
|
|
|
|
| ^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[ignore]` only has an effect on functions
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:356:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[ignore] impl S { }
|
|
|
|
| ^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[no_implicit_prelude]` only has an effect on modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:364:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_implicit_prelude] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[no_implicit_prelude]` only has an effect on modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:367:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_implicit_prelude] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[no_implicit_prelude]` only has an effect on modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:370:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_implicit_prelude] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[no_implicit_prelude]` only has an effect on modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:373:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_implicit_prelude] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:380:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![reexport_test_harness_main="2900"] }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:383:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[reexport_test_harness_main = "2900"] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:386:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[reexport_test_harness_main = "2900"] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:389:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[reexport_test_harness_main = "2900"] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:392:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[reexport_test_harness_main = "2900"] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_escape]` only has an effect on `extern crate` and modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:404:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_escape] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_escape]` only has an effect on `extern crate` and modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:407:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_escape] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_escape]` only has an effect on `extern crate` and modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:410:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_escape] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: `#[macro_escape]` only has an effect on `extern crate` and modules
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:413:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[macro_escape] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:420:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | mod inner { #![no_std] }
|
|
|
|
| ^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:423:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_std] fn f() { }
|
|
|
|
| ^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:426:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_std] struct S;
|
|
|
|
| ^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:429:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_std] type T = S;
|
|
|
|
| ^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:432:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_std] impl S { }
|
|
|
|
| ^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-07-11 12:59:04 -05:00
|
|
|
warning: attribute should be applied to a function definition
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:459:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | mod inner { #![cold] }
|
2022-07-11 12:59:04 -05:00
|
|
|
| ------------^^^^^^^^-- not a function definition
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-07-11 12:59:04 -05:00
|
|
|
warning: attribute should be applied to a function definition
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:466:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[cold] struct S;
|
2022-07-11 12:59:04 -05:00
|
|
|
| ^^^^^^^ --------- not a function definition
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-07-11 12:59:04 -05:00
|
|
|
warning: attribute should be applied to a function definition
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:471:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[cold] type T = S;
|
2022-07-11 12:59:04 -05:00
|
|
|
| ^^^^^^^ ----------- not a function definition
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-07-11 12:59:04 -05:00
|
|
|
warning: attribute should be applied to a function definition
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:476:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[cold] impl S { }
|
2022-07-11 12:59:04 -05:00
|
|
|
| ^^^^^^^ ---------- not a function definition
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a foreign function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:488:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[link_name = "1900"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | extern "C" { }
|
|
|
|
| -------------- not a foreign function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
help: try `#[link(name = "1900")]` instead
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:488:5
|
2021-08-21 14:11:36 -05:00
|
|
|
|
|
|
|
|
LL | #[link_name = "1900"]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a foreign function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:495:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | mod inner { #![link_name="1900"] }
|
|
|
|
| ------------^^^^^^^^^^^^^^^^^^^^-- not a foreign function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a foreign function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:500:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[link_name = "1900"] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ ---------- not a foreign function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a foreign function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:505:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[link_name = "1900"] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ --------- not a foreign function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a foreign function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:510:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[link_name = "1900"] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ ----------- not a foreign function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a foreign function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:515:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[link_name = "1900"] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ ---------- not a foreign function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:527:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | mod inner { #![link_section="1800"] }
|
|
|
|
| ------------^^^^^^^^^^^^^^^^^^^^^^^-- not a function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:534:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[link_section = "1800"] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ --------- not a function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:539:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[link_section = "1800"] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ ----------- not a function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: attribute should be applied to a function or static
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:544:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[link_section = "1800"] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ ---------- not a function or static
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
warning: attribute should be applied to an `extern` block with non-Rust ABI
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:559:17
|
2022-01-09 13:28:40 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![link()] }
|
|
|
|
| ------------^^^^^^^^^^-- not an `extern` block
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
warning: attribute should be applied to an `extern` block with non-Rust ABI
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:564:5
|
2022-01-09 13:28:40 -06:00
|
|
|
|
|
|
|
|
LL | #[link()] fn f() { }
|
|
|
|
| ^^^^^^^^^ ---------- not an `extern` block
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
warning: attribute should be applied to an `extern` block with non-Rust ABI
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:569:5
|
2022-01-09 13:28:40 -06:00
|
|
|
|
|
|
|
|
LL | #[link()] struct S;
|
|
|
|
| ^^^^^^^^^ --------- not an `extern` block
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
warning: attribute should be applied to an `extern` block with non-Rust ABI
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:574:5
|
2022-01-09 13:28:40 -06:00
|
|
|
|
|
|
|
|
LL | #[link()] type T = S;
|
|
|
|
| ^^^^^^^^^ ----------- not an `extern` block
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
warning: attribute should be applied to an `extern` block with non-Rust ABI
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:579:5
|
2022-01-09 13:28:40 -06:00
|
|
|
|
|
|
|
|
LL | #[link()] impl S { }
|
|
|
|
| ^^^^^^^^^ ---------- not an `extern` block
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
warning: attribute should be applied to an `extern` block with non-Rust ABI
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:584:5
|
2022-03-14 05:28:34 -05:00
|
|
|
|
|
|
|
|
LL | #[link()] extern "Rust" {}
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
|
2022-02-11 18:21:02 -06:00
|
|
|
warning: `#[must_use]` has no effect when applied to a module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:606:17
|
2022-02-11 18:21:02 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![must_use] }
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: `#[must_use]` has no effect when applied to a type alias
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:612:5
|
2022-02-11 18:21:02 -06:00
|
|
|
|
|
|
|
|
LL | #[must_use] type T = S;
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2022-08-02 22:11:22 -05:00
|
|
|
warning: `#[must_use]` has no effect when applied to an implementation block
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:614:5
|
2022-02-11 18:21:02 -06:00
|
|
|
|
|
|
|
|
LL | #[must_use] impl S { }
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
2017-12-06 02:27:47 -06:00
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:620:17
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![windows_subsystem="windows"] }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:623:5
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[windows_subsystem = "windows"] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:626:5
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[windows_subsystem = "windows"] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:629:5
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[windows_subsystem = "windows"] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:632:5
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[windows_subsystem = "windows"] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:641:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | mod inner { #![crate_name="0900"] }
|
2018-02-22 18:42:32 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:644:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_name = "0900"] fn f() { }
|
2018-02-22 18:42:32 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:647:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_name = "0900"] struct S;
|
2018-02-22 18:42:32 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:650:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_name = "0900"] type T = S;
|
2018-02-22 18:42:32 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:653:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_name = "0900"] impl S { }
|
2018-02-22 18:42:32 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:660:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | mod inner { #![crate_type="0800"] }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:663:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_type = "0800"] fn f() { }
|
2018-02-22 18:42:32 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:666:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_type = "0800"] struct S;
|
2018-02-22 18:42:32 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:669:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_type = "0800"] type T = S;
|
2018-02-22 18:42:32 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:672:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #[crate_type = "0800"] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:679:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![feature(x0600)] }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:682:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[feature(x0600)] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:685:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[feature(x0600)] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:688:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[feature(x0600)] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:691:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[feature(x0600)] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:699:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | mod inner { #![no_main] }
|
|
|
|
| ^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:702:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_main] fn f() { }
|
|
|
|
| ^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:705:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_main] struct S;
|
|
|
|
| ^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:708:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_main] type T = S;
|
|
|
|
| ^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:711:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
LL | #[no_main] impl S { }
|
|
|
|
| ^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:718:17
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![no_builtins] }
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:721:5
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[no_builtins] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:724:5
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[no_builtins] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:727:5
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[no_builtins] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:730:5
|
2022-01-09 15:08:30 -06:00
|
|
|
|
|
|
|
|
LL | #[no_builtins] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:737:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![recursion_limit="0200"] }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:740:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[recursion_limit="0200"] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:743:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[recursion_limit="0200"] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:746:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[recursion_limit="0200"] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:749:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[recursion_limit="0200"] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
|
|
warning: crate-level attribute should be in the root module
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:756:17
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | mod inner { #![type_length_limit="0100"] }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:759:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[type_length_limit="0100"] fn f() { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:762:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[type_length_limit="0100"] struct S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-07-18 17:05:23 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:765:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[type_length_limit="0100"] type T = S;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:768:5
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | #[type_length_limit="0100"] impl S { }
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
warning: the feature `rust1` has been stable since 1.0.0 and no longer requires an attribute to enable
|
2022-06-14 18:11:24 -05:00
|
|
|
--> $DIR/issue-43106-gating-of-builtin-attrs.rs:90:12
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2021-08-21 14:11:36 -05:00
|
|
|
LL | #![feature(rust1)]
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: `#[warn(stable_features)]` on by default
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
warning: 173 warnings emitted
|
2020-03-11 10:30:09 -05:00
|
|
|
|