Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

use of deprecated item 'failure::Error::causes' #97

Closed
spease opened this issue Oct 27, 2018 · 2 comments
Closed

use of deprecated item 'failure::Error::causes' #97

spease opened this issue Oct 27, 2018 · 2 comments

Comments

@spease
Copy link

spease commented Oct 27, 2018

Looks like quicli needs to be updated for the latest use of failure.

warning: use of deprecated item 'failure::Error::causes': please use the 'iter_chain()' method instead                                                                                                                                                                         
   --> src/main.rs:46:1                                                                                                                                                                                                                                                        
    |                                                                                                                                                                                                                                                                          
46  | / main!(|args: Cli, log_level: verbosity| {                                                                                                                                                                                                                              
47  | |     let client = Client::connect(&args.host, args.port)?;                                                                                                                                                                                                              
48  | |     debug!("DATABASES: {:?}", client.database_names());                                                                                                                                                                                                                
49  | |     let db = client.db(&args.db);                                                                                                                                                                                                                                      
...   |                                                                                                                                                                                                                                                                        
121 | |     */                                                                                                                                                                                                                                                                 
122 | | });                                                                                                                                                                                                                                                                    
    | |___^                                                                                                                                                                                                                                                                    
    |                                                                                                                                                                                                                                                                          
    = note: #[warn(deprecated)] on by default                                                                                                                                                                                                                                  
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)                                                                                     ```
@kimsnj
Copy link
Contributor

kimsnj commented Oct 31, 2018

The warning should be fixed in the latest version of quicli: 0.3.1

@killercup
Copy link
Owner

Yep, should be fixed by 0.3.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants