File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 77
88//@ has 'foo/fn.foo.html' '//pre' 'pub fn foo() -> u32'
99//@ has - '//span[@class="since"]' '1.0.0 (const: unstable)'
10+ //@ has - '//span[@class="item-info"]//span' 'The const version is a \
11+ // nightly-only experimental API. (foo)'
1012#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1113#[ rustc_const_unstable( feature="foo" , issue = "none" ) ]
1214pub const fn foo ( ) -> u32 { 42 }
1315
1416//@ has 'foo/fn.foo_unsafe.html' '//pre' 'pub unsafe fn foo_unsafe() -> u32'
1517//@ has - '//span[@class="since"]' '1.0.0 (const: unstable)'
18+ //@ has - '//span[@class="item-info"]//span' 'The const version is a \
19+ // nightly-only experimental API. (foo #111)'
20+ //@ has - '//span[@class="item-info"]//a[@href="https://github.com/rust-lang/rust/issues/111"]' \
21+ // '#111'
1622#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1723#[ rustc_const_unstable( feature="foo" , issue = "111" ) ]
1824pub const unsafe fn foo_unsafe ( ) -> u32 { 42 }
You can’t perform that action at this time.
0 commit comments