mirror of
https://github.com/servo/servo.git
synced 2025-10-10 05:20:19 +01:00
Don't use the Untraceable fields outside the module they're defined in.
This pattern will become illegal with the next Rust upgrade.
This commit is contained in:
parent
af616dba58
commit
a15cac53bc
8 changed files with 23 additions and 9 deletions
|
@ -18,7 +18,7 @@ use extra::serialize::{Encoder, Encodable};
|
|||
#[deriving(Encodable)]
|
||||
pub struct Location {
|
||||
reflector_: Reflector, //XXXjdm cycle: window->Location->window
|
||||
extra: Untraceable,
|
||||
priv extra: Untraceable,
|
||||
}
|
||||
|
||||
struct Untraceable {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue