html2md$ cargo +nightly fix --edition-idioms Compiling rand_core v0.4.2 Compiling autocfg v0.1.7 Compiling libc v0.2.81 Compiling proc-macro2 v1.0.24 Compiling unicode-xid v0.2.1 Compiling siphasher v0.2.3 Compiling syn v1.0.53 Compiling serde v1.0.118 Compiling string_cache_shared v0.3.0 Compiling proc-macro2 v0.4.30 Compiling ryu v1.0.5 Compiling serde_derive v1.0.118 Compiling unicode-xid v0.1.0 Compiling serde_json v1.0.60 Checking new_debug_unreachable v1.0.4 Compiling syn v0.15.44 Compiling itoa v0.4.6 Compiling autocfg v1.0.1 Checking mac v0.1.1 Checking gimli v0.23.0 Checking lazy_static v1.4.0 Checking utf-8 v0.7.5 Compiling log v0.4.11 Checking adler v0.2.3 Compiling failure_derive v0.1.8 Checking precomputed-hash v0.1.1 Checking object v0.22.0 Checking rustc-demangle v0.1.18 Checking cfg-if v1.0.0 Checking cfg-if v0.1.10 Compiling phf_shared v0.7.24 Compiling rand_core v0.3.1 Compiling rand_jitter v0.1.4 Compiling rand_pcg v0.1.2 Compiling rand_chacha v0.1.1 Compiling rand v0.6.5 Checking futf v0.1.4 Compiling rand_isaac v0.1.1 Compiling rand_xorshift v0.1.1 Compiling rand_hc v0.1.0 Compiling miniz_oxide v0.4.3 Checking phf v0.7.24 Checking tendril v0.4.1 Compiling quote v1.0.7 Compiling rand_os v0.1.3 Checking addr2line v0.14.0 Compiling quote v0.6.13 Checking backtrace v0.3.55 Compiling phf_generator v0.7.24 Compiling string_cache_codegen v0.4.4 Compiling phf_codegen v0.7.24 Compiling string_cache v0.7.5 Compiling synstructure v0.12.4 Checking failure v0.1.8 Compiling html5ever v0.22.6 (https://github.com/jimblandy/html5ever.git?branch=rcdom-debug#f5947d9b) Compiling markup5ever v0.7.5 (https://github.com/jimblandy/html5ever.git?branch=rcdom-debug#f5947d9b) Checking html2md v0.1.0 (/home/jimb/rust/book/html2md) warning: failed to automatically apply fixes suggested by rustc to crate `html2md` after fixes were automatically applied the compiler reported errors within these files: * src/macros.rs This likely indicates a bug in either rustc or cargo itself, and we would appreciate a bug report! You're likely to see a number of compiler warnings after this message which cargo attempted to fix but failed. If you could open an issue at https://github.com/rust-lang/rust/issues quoting the full output of this command we'd be very appreciative! Note that you may be able to make some more progress in the near-term fixing code with the `--broken-code` flag The following errors were reported: error: expected parameter name, found `'_` --> src/macros.rs:19:59 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^ expected parameter name | ::: src/dom.rs:55:1 | 55 | / stringy_enum! { 56 | | pub enum Tag (parse error DomError::ParseTag) { 57 | | A = "a", 58 | | Aside = "aside", ... | 94 | | } 95 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected one of `!`, `)`, `,`, or `::`, found `<` --> src/macros.rs:19:58 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^ | | | expected one of `!`, `)`, `,`, or `::` | help: missing `,` | ::: src/dom.rs:55:1 | 55 | / stringy_enum! { 56 | | pub enum Tag (parse error DomError::ParseTag) { 57 | | A = "a", 58 | | Aside = "aside", ... | 94 | | } 95 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected parameter name, found `'_` --> src/macros.rs:19:59 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^ expected parameter name | ::: src/dom.rs:106:1 | 106 | / stringy_enum! { 107 | | pub enum AttributeName (parse error DomError::ParseAttributeName) { 108 | | Align = "align", 109 | | Alt = "alt", ... | 133 | | } 134 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected one of `!`, `)`, `,`, or `::`, found `<` --> src/macros.rs:19:58 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^ | | | expected one of `!`, `)`, `,`, or `::` | help: missing `,` | ::: src/dom.rs:106:1 | 106 | / stringy_enum! { 107 | | pub enum AttributeName (parse error DomError::ParseAttributeName) { 108 | | Align = "align", 109 | | Alt = "alt", ... | 133 | | } 134 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected parameter name, found `'_` --> src/macros.rs:19:59 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^ expected parameter name | ::: src/tree.rs:22:1 | 22 | / stringy_enum! { 23 | | pub enum SectionKind (parse error TreeError::ParseSectionKind) { 24 | | Preface = "preface", 25 | | Chapter = "chapter", ... | 28 | | } 29 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected one of `!`, `)`, `,`, or `::`, found `<` --> src/macros.rs:19:58 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^ | | | expected one of `!`, `)`, `,`, or `::` | help: missing `,` | ::: src/tree.rs:22:1 | 22 | / stringy_enum! { 23 | | pub enum SectionKind (parse error TreeError::ParseSectionKind) { 24 | | Preface = "preface", 25 | | Chapter = "chapter", ... | 28 | | } 29 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected parameter name, found `'_` --> src/macros.rs:19:59 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^ expected parameter name | ::: src/tree.rs:131:1 | 131 | / stringy_enum! { 132 | | pub enum Language (parse error TreeError::ParseLanguage) { 133 | | Console = "console", 134 | | Cpp = "cpp", ... | 144 | | } 145 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected one of `!`, `)`, `,`, or `::`, found `<` --> src/macros.rs:19:58 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^ | | | expected one of `!`, `)`, `,`, or `::` | help: missing `,` | ::: src/tree.rs:131:1 | 131 | / stringy_enum! { 132 | | pub enum Language (parse error TreeError::ParseLanguage) { 133 | | Console = "console", 134 | | Cpp = "cpp", ... | 144 | | } 145 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected parameter name, found `'_` --> src/macros.rs:19:59 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^ expected parameter name | ::: src/tree.rs:177:1 | 177 | / stringy_enum! { 178 | | pub enum FlagKind (parse error TreeError::ParseFlagKind) { 179 | | Tip = "tip", 180 | | Note = "note", 181 | | Warning = "warning", 182 | | } 183 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected one of `!`, `)`, `,`, or `::`, found `<` --> src/macros.rs:19:58 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^ | | | expected one of `!`, `)`, `,`, or `::` | help: missing `,` | ::: src/tree.rs:177:1 | 177 | / stringy_enum! { 178 | | pub enum FlagKind (parse error TreeError::ParseFlagKind) { 179 | | Tip = "tip", 180 | | Note = "note", 181 | | Warning = "warning", 182 | | } 183 | | } | |_- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0050]: method `fmt` has 3 parameters but the declaration in trait `std::fmt::Display::fmt` has 2 --> src/macros.rs:19:20 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters, found 3 | ::: src/dom.rs:55:1 | 55 | / stringy_enum! { 56 | | pub enum Tag (parse error DomError::ParseTag) { 57 | | A = "a", 58 | | Aside = "aside", ... | 94 | | } 95 | | } | |_- in this macro invocation | = note: `fmt` from trait: `fn(&Self, &mut Formatter<'_>) -> std::result::Result<(), std::fmt::Error>` = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0050]: method `fmt` has 3 parameters but the declaration in trait `std::fmt::Display::fmt` has 2 --> src/macros.rs:19:20 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters, found 3 | ::: src/dom.rs:106:1 | 106 | / stringy_enum! { 107 | | pub enum AttributeName (parse error DomError::ParseAttributeName) { 108 | | Align = "align", 109 | | Alt = "alt", ... | 133 | | } 134 | | } | |_- in this macro invocation | = note: `fmt` from trait: `fn(&Self, &mut Formatter<'_>) -> std::result::Result<(), std::fmt::Error>` = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0050]: method `fmt` has 3 parameters but the declaration in trait `std::fmt::Display::fmt` has 2 --> src/macros.rs:19:20 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters, found 3 | ::: src/tree.rs:22:1 | 22 | / stringy_enum! { 23 | | pub enum SectionKind (parse error TreeError::ParseSectionKind) { 24 | | Preface = "preface", 25 | | Chapter = "chapter", ... | 28 | | } 29 | | } | |_- in this macro invocation | = note: `fmt` from trait: `fn(&Self, &mut Formatter<'_>) -> std::result::Result<(), std::fmt::Error>` = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0050]: method `fmt` has 3 parameters but the declaration in trait `std::fmt::Display::fmt` has 2 --> src/macros.rs:19:20 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters, found 3 | ::: src/tree.rs:131:1 | 131 | / stringy_enum! { 132 | | pub enum Language (parse error TreeError::ParseLanguage) { 133 | | Console = "console", 134 | | Cpp = "cpp", ... | 144 | | } 145 | | } | |_- in this macro invocation | = note: `fmt` from trait: `fn(&Self, &mut Formatter<'_>) -> std::result::Result<(), std::fmt::Error>` = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0050]: method `fmt` has 3 parameters but the declaration in trait `std::fmt::Display::fmt` has 2 --> src/macros.rs:19:20 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_><'_><'_><'_><'_>) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters, found 3 | ::: src/tree.rs:177:1 | 177 | / stringy_enum! { 178 | | pub enum FlagKind (parse error TreeError::ParseFlagKind) { 179 | | Tip = "tip", 180 | | Note = "note", 181 | | Warning = "warning", 182 | | } 183 | | } | |_- in this macro invocation | = note: `fmt` from trait: `fn(&Self, &mut Formatter<'_>) -> std::result::Result<(), std::fmt::Error>` = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 15 previous errors For more information about this error, try `rustc --explain E0050`. Original diagnostics will follow. warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/dom.rs:55:1 | 55 | / stringy_enum! { 56 | | pub enum Tag (parse error DomError::ParseTag) { 57 | | A = "a", 58 | | Aside = "aside", ... | 94 | | } 95 | | } | |_- in this macro invocation | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/dom.rs:106:1 | 106 | / stringy_enum! { 107 | | pub enum AttributeName (parse error DomError::ParseAttributeName) { 108 | | Align = "align", 109 | | Alt = "alt", ... | 133 | | } 134 | | } | |_- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: hidden lifetime parameters in types are deprecated --> src/dom.rs:249:34 | 249 | Node::Text(text) => ::fmt(&Replaced(text), f), | ^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/dom.rs:247:27 | 247 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/dom.rs:256:27 | 256 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/dom.rs:351:27 | 351 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:664:27 | 664 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:750:27 | 750 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:766:27 | 766 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:798:27 | 798 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:828:27 | 828 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:843:27 | 843 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/peekable_ext.rs:4:45 | 4 | fn until

(&mut self, predicate: P) -> Until | ^^^^^^^^^^^ help: indicate the anonymous lifetime: `Until<'_, I, P>` warning: hidden lifetime parameters in types are deprecated --> src/peekable_ext.rs:10:45 | 10 | fn until

(&mut self, predicate: P) -> Until | ^^^^^^^^^^^ help: indicate the anonymous lifetime: `Until<'_, I, P>` warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/tree.rs:22:1 | 22 | / stringy_enum! { 23 | | pub enum SectionKind (parse error TreeError::ParseSectionKind) { 24 | | Preface = "preface", 25 | | Chapter = "chapter", ... | 28 | | } 29 | | } | |_- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/tree.rs:131:1 | 131 | / stringy_enum! { 132 | | pub enum Language (parse error TreeError::ParseLanguage) { 133 | | Console = "console", 134 | | Cpp = "cpp", ... | 144 | | } 145 | | } | |_- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/tree.rs:177:1 | 177 | / stringy_enum! { 178 | | pub enum FlagKind (parse error TreeError::ParseFlagKind) { 179 | | Tip = "tip", 180 | | Note = "note", 181 | | Warning = "warning", 182 | | } 183 | | } | |_- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: `extern crate` is not idiomatic in the new edition --> src/lib.rs:3:1 | 3 | extern crate failure; | ^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` | = note: `-W unused-extern-crates` implied by `-W rust-2018-idioms` warning: unused extern crate --> src/lib.rs:6:1 | 6 | extern crate html5ever; | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> src/lib.rs:9:1 | 9 | extern crate string_cache; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: outlives requirements can be inferred --> src/markdown.rs:764:22 | 764 | struct Pandoc<'a, T: 'a + ?Sized>(&'a T); | ^^^^^ help: remove this bound | = note: `-W explicit-outlives-requirements` implied by `-W rust-2018-idioms` warning: 21 warnings emitted warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/dom.rs:55:1 | 55 | / stringy_enum! { 56 | | pub enum Tag (parse error DomError::ParseTag) { 57 | | A = "a", 58 | | Aside = "aside", ... | 94 | | } 95 | | } | |_- in this macro invocation | = note: `-W elided-lifetimes-in-paths` implied by `-W rust-2018-idioms` = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/dom.rs:106:1 | 106 | / stringy_enum! { 107 | | pub enum AttributeName (parse error DomError::ParseAttributeName) { 108 | | Align = "align", 109 | | Alt = "alt", ... | 133 | | } 134 | | } | |_- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: hidden lifetime parameters in types are deprecated --> src/dom.rs:249:34 | 249 | Node::Text(text) => ::fmt(&Replaced(text), f), | ^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/dom.rs:247:27 | 247 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/dom.rs:256:27 | 256 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/dom.rs:351:27 | 351 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:664:27 | 664 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:750:27 | 750 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:766:27 | 766 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:798:27 | 798 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:828:27 | 828 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/markdown.rs:843:27 | 843 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> src/peekable_ext.rs:4:45 | 4 | fn until

(&mut self, predicate: P) -> Until | ^^^^^^^^^^^ help: indicate the anonymous lifetime: `Until<'_, I, P>` warning: hidden lifetime parameters in types are deprecated --> src/peekable_ext.rs:10:45 | 10 | fn until

(&mut self, predicate: P) -> Until | ^^^^^^^^^^^ help: indicate the anonymous lifetime: `Until<'_, I, P>` warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/tree.rs:22:1 | 22 | / stringy_enum! { 23 | | pub enum SectionKind (parse error TreeError::ParseSectionKind) { 24 | | Preface = "preface", 25 | | Chapter = "chapter", ... | 28 | | } 29 | | } | |_- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/tree.rs:131:1 | 131 | / stringy_enum! { 132 | | pub enum Language (parse error TreeError::ParseLanguage) { 133 | | Console = "console", 134 | | Cpp = "cpp", ... | 144 | | } 145 | | } | |_- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: hidden lifetime parameters in types are deprecated --> src/macros.rs:19:35 | 19 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` | ::: src/tree.rs:177:1 | 177 | / stringy_enum! { 178 | | pub enum FlagKind (parse error TreeError::ParseFlagKind) { 179 | | Tip = "tip", 180 | | Note = "note", 181 | | Warning = "warning", 182 | | } 183 | | } | |_- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: `extern crate` is not idiomatic in the new edition --> src/lib.rs:3:1 | 3 | extern crate failure; | ^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` | = note: `-W unused-extern-crates` implied by `-W rust-2018-idioms` warning: unused extern crate --> src/lib.rs:6:1 | 6 | extern crate html5ever; | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> src/lib.rs:9:1 | 9 | extern crate string_cache; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: outlives requirements can be inferred --> src/markdown.rs:764:22 | 764 | struct Pandoc<'a, T: 'a + ?Sized>(&'a T); | ^^^^^ help: remove this bound | = note: `-W explicit-outlives-requirements` implied by `-W rust-2018-idioms` warning: 21 warnings emitted Finished dev [unoptimized + debuginfo] target(s) in 22.53s