(&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) => (&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