Skip to content

Commit 9ba024b

Browse files
authored
Rollup merge of rust-lang#57340 - eqrion:doc/c_variadic, r=Mark-Simulacrum
Use correct tracking issue for c_variadic Fixes rust-lang#57306
2 parents 2fb815c + 6c60662 commit 9ba024b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/libcore/ffi.rs

+11-11
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl fmt::Debug for c_void {
5252
#[unstable(feature = "c_variadic",
5353
reason = "the `c_variadic` feature has not been properly tested on \
5454
all supported platforms",
55-
issue = "27745")]
55+
issue = "44930")]
5656
extern {
5757
type VaListImpl;
5858
}
@@ -77,7 +77,7 @@ impl fmt::Debug for VaListImpl {
7777
#[unstable(feature = "c_variadic",
7878
reason = "the `c_variadic` feature has not been properly tested on \
7979
all supported platforms",
80-
issue = "27745")]
80+
issue = "44930")]
8181
struct VaListImpl {
8282
stack: *mut (),
8383
gr_top: *mut (),
@@ -93,7 +93,7 @@ struct VaListImpl {
9393
#[unstable(feature = "c_variadic",
9494
reason = "the `c_variadic` feature has not been properly tested on \
9595
all supported platforms",
96-
issue = "27745")]
96+
issue = "44930")]
9797
struct VaListImpl {
9898
gpr: u8,
9999
fpr: u8,
@@ -109,7 +109,7 @@ struct VaListImpl {
109109
#[unstable(feature = "c_variadic",
110110
reason = "the `c_variadic` feature has not been properly tested on \
111111
all supported platforms",
112-
issue = "27745")]
112+
issue = "44930")]
113113
struct VaListImpl {
114114
gp_offset: i32,
115115
fp_offset: i32,
@@ -123,7 +123,7 @@ struct VaListImpl {
123123
#[unstable(feature = "c_variadic",
124124
reason = "the `c_variadic` feature has not been properly tested on \
125125
all supported platforms",
126-
issue = "27745")]
126+
issue = "44930")]
127127
#[repr(transparent)]
128128
pub struct VaList<'a>(&'a mut VaListImpl);
129129

@@ -143,7 +143,7 @@ mod sealed_trait {
143143
#[unstable(feature = "c_variadic",
144144
reason = "the `c_variadic` feature has not been properly tested on \
145145
all supported platforms",
146-
issue = "27745")]
146+
issue = "44930")]
147147
pub trait VaArgSafe {}
148148
}
149149

@@ -153,7 +153,7 @@ macro_rules! impl_va_arg_safe {
153153
#[unstable(feature = "c_variadic",
154154
reason = "the `c_variadic` feature has not been properly tested on \
155155
all supported platforms",
156-
issue = "27745")]
156+
issue = "44930")]
157157
impl sealed_trait::VaArgSafe for $t {}
158158
)+
159159
}
@@ -166,20 +166,20 @@ impl_va_arg_safe!{f64}
166166
#[unstable(feature = "c_variadic",
167167
reason = "the `c_variadic` feature has not been properly tested on \
168168
all supported platforms",
169-
issue = "27745")]
169+
issue = "44930")]
170170
impl<T> sealed_trait::VaArgSafe for *mut T {}
171171
#[unstable(feature = "c_variadic",
172172
reason = "the `c_variadic` feature has not been properly tested on \
173173
all supported platforms",
174-
issue = "27745")]
174+
issue = "44930")]
175175
impl<T> sealed_trait::VaArgSafe for *const T {}
176176

177177
impl<'a> VaList<'a> {
178178
/// Advance to the next arg.
179179
#[unstable(feature = "c_variadic",
180180
reason = "the `c_variadic` feature has not been properly tested on \
181181
all supported platforms",
182-
issue = "27745")]
182+
issue = "44930")]
183183
pub unsafe fn arg<T: sealed_trait::VaArgSafe>(&mut self) -> T {
184184
va_arg(self)
185185
}
@@ -188,7 +188,7 @@ impl<'a> VaList<'a> {
188188
#[unstable(feature = "c_variadic",
189189
reason = "the `c_variadic` feature has not been properly tested on \
190190
all supported platforms",
191-
issue = "27745")]
191+
issue = "44930")]
192192
pub unsafe fn copy<F, R>(&self, f: F) -> R
193193
where F: for<'copy> FnOnce(VaList<'copy>) -> R {
194194
#[cfg(any(all(not(target_arch = "aarch64"), not(target_arch = "powerpc"),

src/libstd/ffi/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ pub use core::ffi::c_void;
169169
#[unstable(feature = "c_variadic",
170170
reason = "the `c_variadic` feature has not been properly tested on \
171171
all supported platforms",
172-
issue = "27745")]
172+
issue = "44930")]
173173
pub use core::ffi::VaList;
174174

175175
mod c_str;

0 commit comments

Comments
 (0)