Skip to content

Regression with generated template parameters. #1113

Closed
@emilio

Description

From 0.29 to 0.31, the following code corresponding to nsBaseHashTable has changed from:

    pub struct nsBaseHashtable_EntryPtr<KeyClass, DataType> {
        pub mEntry: *mut root::nsBaseHashtable_EntryType<KeyClass, DataType>,
        pub mExistingEntry: bool,
        pub _phantom_0: ::std::marker::PhantomData<::std::cell::UnsafeCell<KeyClass>>,
        pub _phantom_1: ::std::marker::PhantomData<::std::cell::UnsafeCell<DataType>>,
    }

To:

pub struct nsBaseHashtable_EntryPtr < KeyClass , DataType > {
    pub mEntry : * mut root :: nsBaseHashtable_EntryType < KeyClass , DataType > < KeyClass , DataType > ,
    pub mExistingEntry : bool ,
    // ....
}

Trying to find a test-case now.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions