|
18 | 18 | #![feature(min_const_unsafe_fn)]
|
19 | 19 | #![feature(staged_api)]
|
20 | 20 |
|
21 |
| -// @has 'foo/fn.foo.html' '//pre' 'pub const unsafe fn foo() -> u32' |
| 21 | +// @has 'foo/fn.foo.html' '//pre' 'pub unsafe fn foo() -> u32' |
22 | 22 | #[stable(feature = "rust1", since = "1.0.0")]
|
23 | 23 | #[rustc_const_unstable(feature="foo")]
|
24 | 24 | pub const unsafe fn foo() -> u32 { 42 }
|
25 | 25 |
|
26 |
| -// @has 'foo/fn.foo2.html' '//pre' 'pub const fn foo2() -> u32' |
| 26 | +// @has 'foo/fn.foo2.html' '//pre' 'pub fn foo2() -> u32' |
27 | 27 | #[unstable(feature = "humans", issue="0")]
|
28 | 28 | pub const fn foo2() -> u32 { 42 }
|
29 | 29 |
|
30 | 30 | // @has 'foo/fn.bar2.html' '//pre' 'pub const fn bar2() -> u32'
|
31 | 31 | #[stable(feature = "rust1", since = "1.0.0")]
|
32 | 32 | pub const fn bar2() -> u32 { 42 }
|
33 | 33 |
|
34 |
| -// @has 'foo/fn.foo2_gated.html' '//pre' 'pub const unsafe fn foo2_gated() -> u32' |
| 34 | +// @has 'foo/fn.foo2_gated.html' '//pre' 'pub unsafe fn foo2_gated() -> u32' |
35 | 35 | #[unstable(feature = "foo2", issue="0")]
|
36 | 36 | pub const unsafe fn foo2_gated() -> u32 { 42 }
|
37 | 37 |
|
38 | 38 | // @has 'foo/fn.bar2_gated.html' '//pre' 'pub const unsafe fn bar2_gated() -> u32'
|
39 | 39 | #[stable(feature = "rust1", since = "1.0.0")]
|
40 | 40 | pub const unsafe fn bar2_gated() -> u32 { 42 }
|
41 | 41 |
|
42 |
| -// @has 'foo/fn.bar_not_gated.html' '//pre' 'pub const unsafe fn bar_not_gated() -> u32' |
| 42 | +// @has 'foo/fn.bar_not_gated.html' '//pre' 'pub unsafe fn bar_not_gated() -> u32' |
43 | 43 | pub const unsafe fn bar_not_gated() -> u32 { 42 }
|
0 commit comments