You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Input adapted from double_replaces.hpp by removing the --blacklist-type Wrapper flag:
// bindgen-flags: -- --std=c++11namespaceJS {
namespacedetail {
template<typename T>
structWrapper {
structWrapped {
T t;
};
using Type = Wrapped;
};
template <typename T>
using MaybeWrapped = typename Wrapper<T>::Type;
}
template<typename T>
classRooted {
detail::MaybeWrapped<T> ptr;
};
}
/** * <div rustbindgen replaces="MaybeWrapped"></div>*/template <typename T>
using replacement_MaybeWrapped = T;
Generated type definition for Wrapper_Wrapped is missing the template parameter:
error[E0412]: type name `T` is undefined or not in scope
--> tests/expectations/replaces_double_from_outside.rs:18:41
|
18 | pub type Wrapper_Type = Wrapper_Wrapped<T>;
| ^ undefined or not in scope
|
= help: no candidates by the name of `T` found in your project; maybe you misspelled the name or forgot to import an external crate?
error: aborting due to previous error
The text was updated successfully, but these errors were encountered:
Input adapted from
double_replaces.hpp
by removing the--blacklist-type Wrapper
flag:Generated type definition for
Wrapper_Wrapped
is missing the template parameter:The text was updated successfully, but these errors were encountered: