@@ -29,30 +29,30 @@ LL | pub impl(in crate::foo) trait Baz {}
2929 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3030
3131error[E0658]: `impl` restrictions are experimental
32- --> $DIR/feature-gate-impl-restriction.rs:14:16
32+ --> $DIR/feature-gate-impl-restriction.rs:14:9
3333 |
34- LL | pub unsafe impl(super) trait BazUnsafeSuper {}
35- | ^^^^^^^^^^^
34+ LL | pub impl(super) unsafe trait BazUnsafeSuper {}
35+ | ^^^^^^^^^^^
3636 |
3737 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
3838 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
3939 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
4040
4141error[E0658]: `impl` restrictions are experimental
42- --> $DIR/feature-gate-impl-restriction.rs:15:14
42+ --> $DIR/feature-gate-impl-restriction.rs:15:9
4343 |
44- LL | pub auto impl(self) trait BazAutoSelf {}
45- | ^^^^^^^^^^
44+ LL | pub impl(self) auto trait BazAutoSelf {}
45+ | ^^^^^^^^^^
4646 |
4747 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
4848 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
4949 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
5050
5151error[E0658]: `impl` restrictions are experimental
52- --> $DIR/feature-gate-impl-restriction.rs:16:15
52+ --> $DIR/feature-gate-impl-restriction.rs:16:9
5353 |
54- LL | pub const impl(in self) trait BazConst {}
55- | ^^^^^^^^^^^^^
54+ LL | pub impl(in self) const trait BazConst {}
55+ | ^^^^^^^^^^^^^
5656 |
5757 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
5858 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
@@ -69,20 +69,20 @@ LL | pub impl(in crate::foo::foo_inner) trait Qux {}
6969 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
7070
7171error[E0658]: `impl` restrictions are experimental
72- --> $DIR/feature-gate-impl-restriction.rs:20:25
72+ --> $DIR/feature-gate-impl-restriction.rs:20:13
7373 |
74- LL | ... pub unsafe auto impl(in crate::foo::foo_inner) trait QuxAutoUnsafe {}
75- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74+ LL | ... pub impl(in crate::foo::foo_inner) unsafe auto trait QuxAutoUnsafe {}
75+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7676 |
7777 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
7878 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
7979 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
8080
8181error[E0658]: `impl` restrictions are experimental
82- --> $DIR/feature-gate-impl-restriction.rs:21:26
82+ --> $DIR/feature-gate-impl-restriction.rs:21:13
8383 |
84- LL | ... pub const unsafe impl(in crate::foo::foo_inner) trait QuxConstUnsafe {}
85- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
84+ LL | ... pub impl(in crate::foo::foo_inner) const unsafe trait QuxConstUnsafe {}
85+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8686 |
8787 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
8888 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
@@ -109,30 +109,30 @@ LL | pub impl(in crate) trait BarInCrate {}
109109 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
110110
111111error[E0658]: `impl` restrictions are experimental
112- --> $DIR/feature-gate-impl-restriction.rs:29:16
112+ --> $DIR/feature-gate-impl-restriction.rs:29:9
113113 |
114- LL | pub unsafe impl(self) trait BazUnsafeSelf {}
115- | ^^^^^^^^^^
114+ LL | pub impl(self) unsafe trait BazUnsafeSelf {}
115+ | ^^^^^^^^^^
116116 |
117117 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
118118 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
119119 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
120120
121121error[E0658]: `impl` restrictions are experimental
122- --> $DIR/feature-gate-impl-restriction.rs:31:14
122+ --> $DIR/feature-gate-impl-restriction.rs:31:9
123123 |
124- LL | pub auto impl(in super) trait BazAutoSuper {}
125- | ^^^^^^^^^^^^^^
124+ LL | pub impl(in super) auto trait BazAutoSuper {}
125+ | ^^^^^^^^^^^^^^
126126 |
127127 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
128128 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
129129 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
130130
131131error[E0658]: `impl` restrictions are experimental
132- --> $DIR/feature-gate-impl-restriction.rs:33:15
132+ --> $DIR/feature-gate-impl-restriction.rs:33:9
133133 |
134- LL | pub const impl(super) trait BazConstSuper {}
135- | ^^^^^^^^^^^
134+ LL | pub impl(super) const trait BazConstSuper {}
135+ | ^^^^^^^^^^^
136136 |
137137 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
138138 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
@@ -149,20 +149,20 @@ LL | pub impl(in crate::foo::cfged_out_foo) trait CfgedOutQux {}
149149 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
150150
151151error[E0658]: `impl` restrictions are experimental
152- --> $DIR/feature-gate-impl-restriction.rs:38:25
152+ --> $DIR/feature-gate-impl-restriction.rs:38:13
153153 |
154- LL | ... pub unsafe auto impl(in crate::foo::cfged_out_foo) trait CfgedOutQuxUnsafeAuto {}
155- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
154+ LL | ... pub impl(in crate::foo::cfged_out_foo) unsafe auto trait CfgedOutQuxUnsafeAuto {}
155+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
156156 |
157157 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
158158 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
159159 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
160160
161161error[E0658]: `impl` restrictions are experimental
162- --> $DIR/feature-gate-impl-restriction.rs:39:26
162+ --> $DIR/feature-gate-impl-restriction.rs:39:13
163163 |
164- LL | ... pub const unsafe impl(in crate::foo::cfged_out_foo) trait CfgedOutQuxConstUnsafe {}
165- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
164+ LL | ... pub impl(in crate::foo::cfged_out_foo) const unsafe trait CfgedOutQuxConstUnsafe {}
165+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
166166 |
167167 = note: see issue #105077 <https://github.com/rust-lang/rust/issues/105077> for more information
168168 = help: add `#![feature(impl_restriction)]` to the crate attributes to enable
0 commit comments