This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,20 +31,20 @@ pub const fn foo2() -> u32 { 42 }
3131pub const fn bar2 ( ) -> u32 { 42 }
3232
3333
34- // @has 'foo/fn.foo2_gated.html' '//pre' 'pub const fn foo2_gated() -> u32'
34+ // @has 'foo/fn.foo2_gated.html' '//pre' 'pub const unsafe fn foo2_gated() -> u32'
3535// @!has - '//span[@class="since"]'
3636#[ unstable( feature = "foo2" , issue = "none" ) ]
37- pub const fn foo2_gated ( ) -> u32 { 42 }
37+ pub const unsafe fn foo2_gated ( ) -> u32 { 42 }
3838
39- // @has 'foo/fn.bar2_gated.html' '//pre' 'pub const fn bar2_gated() -> u32'
39+ // @has 'foo/fn.bar2_gated.html' '//pre' 'pub const unsafe fn bar2_gated() -> u32'
4040// @has - '//span[@class="since"]' '1.0.0 (const: 1.0.0)'
4141#[ stable( feature = "rust1" , since = "1.0.0" ) ]
4242#[ rustc_const_stable( feature = "rust1" , since = "1.0.0" ) ]
43- pub const fn bar2_gated ( ) -> u32 { 42 }
43+ pub const unsafe fn bar2_gated ( ) -> u32 { 42 }
4444
45- // @has 'foo/fn.bar_not_gated.html' '//pre' 'pub const fn bar_not_gated() -> u32'
45+ // @has 'foo/fn.bar_not_gated.html' '//pre' 'pub const unsafe fn bar_not_gated() -> u32'
4646// @!has - '//span[@class="since"]'
47- pub const fn bar_not_gated ( ) -> u32 { 42 }
47+ pub const unsafe fn bar_not_gated ( ) -> u32 { 42 }
4848
4949pub struct Foo ;
5050
You can’t perform that action at this time.
0 commit comments