File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 7
7
8
8
//@ has 'foo/fn.foo.html' '//pre' 'pub fn foo() -> u32'
9
9
//@ 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)'
10
12
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
11
13
#[ rustc_const_unstable( feature="foo" , issue = "none" ) ]
12
14
pub const fn foo ( ) -> u32 { 42 }
13
15
14
16
//@ has 'foo/fn.foo_unsafe.html' '//pre' 'pub unsafe fn foo_unsafe() -> u32'
15
17
//@ 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'
16
22
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
17
23
#[ rustc_const_unstable( feature="foo" , issue = "111" ) ]
18
24
pub const unsafe fn foo_unsafe ( ) -> u32 { 42 }
You can’t perform that action at this time.
0 commit comments