Skip to content

Commit bc0634c

Browse files
GuillaumeGomezbilelmoussaoui
authored andcommitted
Fix conflict for re-exports
1 parent 84143f2 commit bc0634c

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

glib/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ pub mod closure;
131131
mod convert;
132132
pub use self::convert::*;
133133
mod enums;
134-
mod functions;
135-
pub use self::functions::*;
134+
mod manual_functions;
135+
pub use self::manual_functions::*;
136136
mod key_file;
137137
pub mod prelude;
138138
pub mod signal;

glib/tests/subclass_compiletest/03-object-no-auto-send-sync.stderr

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ error[E0277]: `*mut c_void` cannot be sent between threads safely
88
|
99
= help: the trait `Send` is not implemented for `*mut c_void`
1010
= note: required for `TypedObjectRef<*mut c_void, ()>` to implement `Send`
11-
= note: required because it appears within the type `Object`
11+
note: required because it appears within the type `Object`
12+
--> src/object.rs
13+
|
14+
| pub Object, *mut std::os::raw::c_void, (), gobject_ffi::GObject, @ffi_class gobject_ffi::GObjectClass, @type_ gobject_ffi::g_object_g...
15+
| ^^^^^^
1216
note: required by a bound in `main::check`
1317
--> tests/subclass_compiletest/03-object-no-auto-send-sync.rs:2:17
1418
|
@@ -25,7 +29,11 @@ error[E0277]: `*mut c_void` cannot be shared between threads safely
2529
|
2630
= help: the trait `Sync` is not implemented for `*mut c_void`
2731
= note: required for `TypedObjectRef<*mut c_void, ()>` to implement `Send`
28-
= note: required because it appears within the type `Object`
32+
note: required because it appears within the type `Object`
33+
--> src/object.rs
34+
|
35+
| pub Object, *mut std::os::raw::c_void, (), gobject_ffi::GObject, @ffi_class gobject_ffi::GObjectClass, @type_ gobject_ffi::g_object_g...
36+
| ^^^^^^
2937
note: required by a bound in `main::check`
3038
--> tests/subclass_compiletest/03-object-no-auto-send-sync.rs:2:17
3139
|

pango/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub use glib;
1212
mod auto;
1313
pub use crate::{
1414
auto::{functions::*, *},
15-
functions::*,
15+
manual_functions::*,
1616
};
1717

1818
#[doc(alias = "PANGO_SCALE")]
@@ -97,8 +97,8 @@ mod color;
9797
mod coverage;
9898
pub use coverage::Coverage;
9999
mod enums;
100-
mod functions;
101100
mod glyph_geometry;
101+
mod manual_functions;
102102
pub use glyph_geometry::GlyphGeometry;
103103
mod glyph_info;
104104
pub use glyph_info::GlyphInfo;

0 commit comments

Comments
 (0)