diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-11-04 00:36:45 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-11-09 17:50:51 +0300 |
| commit | 441e5aed2501de4dcafff8c1e2442ee4145737be (patch) | |
| tree | ad8a31eb1cfc7296066acebba1e15df707360baf /src/test/ui/span | |
| parent | 3a223a917378f439fd9107e26ee7355f5f92c62d (diff) | |
| download | rust-441e5aed2501de4dcafff8c1e2442ee4145737be.tar.gz rust-441e5aed2501de4dcafff8c1e2442ee4145737be.zip | |
Remove `#[feature(custom_attribute)]`
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/issue-36530.rs | 4 | ||||
| -rw-r--r-- | src/test/ui/span/issue-36530.stderr | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/span/issue-36530.rs b/src/test/ui/span/issue-36530.rs index 14b2c8644e0..4776740d8de 100644 --- a/src/test/ui/span/issue-36530.rs +++ b/src/test/ui/span/issue-36530.rs @@ -1,6 +1,8 @@ // gate-test-custom_inner_attributes -#![feature(custom_attribute)] +#![feature(register_attr)] + +#![register_attr(foo)] #[foo] mod foo { diff --git a/src/test/ui/span/issue-36530.stderr b/src/test/ui/span/issue-36530.stderr index c6b7895e65a..2d3972917df 100644 --- a/src/test/ui/span/issue-36530.stderr +++ b/src/test/ui/span/issue-36530.stderr @@ -1,5 +1,5 @@ error[E0658]: non-builtin inner attributes are unstable - --> $DIR/issue-36530.rs:7:5 + --> $DIR/issue-36530.rs:9:5 | LL | #![foo] | ^^^^^^^ |
