The Servo browser engine | Conduct: https://www.rust-lang.org/conduct.html | https://github.com/servo/servo | https://dxr.mozilla.org/servo/
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: error: in `/Users/stefano/Develop/servo/target/arm-linux-androideabi/debug/build/backtrace-sys-c41044212322c9f2/out':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
thread 'main' panicked at 'failed with: exit code: 1', /Users/stefano/Develop/servo/./.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.10/build.rs:134
generic_container, what I expected was that the call to:
SomeContainer(Foo(3));
SomeContainer::<Foo>(Foo(3))
Foo as a #[must_root] type
new method, but I guess that's dead code
T parameter in SomeContainer was not declared as #[must_root]
#[must_root] type, then they would check the type parameter, and see that it has a #[must_root] annotation
T to be #[must_root] if it is declared that way
struct MyContainer<#[must_root] T>(T) would be in error
#[must_root] and if that's a case, we want to consult HIR to get the definition of the struct and check if given field is #[must_root], right?