@mssun You were right. I confused error-chain backtrace module with the std. I 
got past this issue but now getting the error below. Like @dingelish suggested, 
I'm just trying to port the crate.
```
error[E0308]: mismatched types
   --> 
/root/.cargo/git/checkouts/error-chain-cd67bb92899312ae/f73f94d/src/lib.rs:691:9
    |
691 |         self.backtrace.as_backtrace()
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct 
`std::backtrace::Backtrace`, found `()`
    |
    = note: expected enum `core::option::Option<&std::backtrace::Backtrace>`
               found enum `core::option::Option<&()>`

error: aborting due to previous error
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave-sgx-sdk/issues/238#issuecomment-631172587

Reply via email to