Skip to content

Instantly share code, notes, and snippets.

@Geobert
Created January 27, 2018 22:29
Show Gist options
  • Select an option

  • Save Geobert/207b2fdae3b5ceca01bb025e90373dd0 to your computer and use it in GitHub Desktop.

Select an option

Save Geobert/207b2fdae3b5ceca01bb025e90373dd0 to your computer and use it in GitHub Desktop.
RLS output
{"message":"unresolved import `rustc::ty::layout::LayoutOf`","code":{"code":"E0432","explanation":"\nAn import was unresolved.\n\nErroneous code example:\n\n```compile_fail,E0432\nuse something::Foo; // error: unresolved import `something::Foo`.\n```\n\nPaths in `use` statements are relative to the crate root. To import items\nrelative to the current and parent modules, use the `self::` and `super::`\nprefixes, respectively. Also verify that you didn't misspell the import\nname and that the import exists in the module from where you tried to\nimport it. Example:\n\n```\nuse self::something::Foo; // ok!\n\nmod something {\n pub struct Foo;\n}\n# fn main() {}\n```\n\nOr, if you tried to use a module from an external crate, you may have missed\nthe `extern crate` declaration (which is usually placed in the crate root):\n\n```\nextern crate core; // Required to use the `core` crate\n\nuse core::any;\n# fn main() {}\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\utils\\mod.rs","byte_start":357,"byte_end":384,"line_start":12,"line_end":12,"column_start":5,"column_end":32,"is_primary":true,"text":[{"text":"use rustc::ty::layout::LayoutOf;","highlight_start":5,"highlight_end":32}],"label":"no `LayoutOf` in `ty::layout`. Did you mean to use `Layout`?","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"failed to resolve. Use of undeclared type or module `GenericParam`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve. Use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforgot to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lifetimes.rs","byte_start":7301,"byte_end":7313,"line_start":228,"line_end":228,"column_start":16,"column_end":28,"is_primary":true,"text":[{"text":" if let GenericParam::Lifetime(ref lt) = *par {","highlight_start":16,"highlight_end":28}],"label":"Use of undeclared type or module `GenericParam`","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"method `visit_generic_param` is not a member of trait `Visitor`","code":{"code":"E0407","explanation":"\nA definition of a method not in the implemented trait was given in a trait\nimplementation.\n\nErroneous code example:\n\n```compile_fail,E0407\ntrait Foo {\n fn a();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {\n fn a() {}\n fn b() {} // error: method `b` is not a member of trait `Foo`\n}\n```\n\nPlease verify you didn't misspell the method name and you used the correct\ntrait. First example:\n\n```\ntrait Foo {\n fn a();\n fn b();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {\n fn a() {}\n fn b() {} // ok!\n}\n```\n\nSecond example:\n\n```\ntrait Foo {\n fn a();\n}\n\nstruct Bar;\n\nimpl Foo for Bar {\n fn a() {}\n}\n\nimpl Bar {\n fn b() {}\n}\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lifetimes.rs","byte_start":13335,"byte_end":13748,"line_start":408,"line_end":417,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" fn visit_generic_param(&mut self, param: &'tcx GenericParam) {","highlight_start":5,"highlight_end":67},{"text":" // don't actually visit `<'a>` or `<'a: 'b>`","highlight_start":1,"highlight_end":53},{"text":" // we've already visited the `'a` declarations and","highlight_start":1,"highlight_end":59},{"text":" // don't want to spuriously remove them","highlight_start":1,"highlight_end":48},{"text":" // `'b` in `'a: 'b` is useless unless used elsewhere in","highlight_start":1,"highlight_end":64},{"text":" // a non-lifetime bound","highlight_start":1,"highlight_end":32},{"text":" if param.is_type_param() {","highlight_start":1,"highlight_end":35},{"text":" walk_generic_param(self, param)","highlight_start":1,"highlight_end":44},{"text":" }","highlight_start":1,"highlight_end":10},{"text":" }","highlight_start":1,"highlight_end":6}],"label":"not a member of trait `Visitor`","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"failed to resolve. Use of undeclared type or module `GenericParam`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve. Use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforgot to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\misc_early.rs","byte_start":4449,"byte_end":4461,"line_start":192,"line_end":192,"column_start":20,"column_end":32,"is_primary":true,"text":[{"text":" if let GenericParam::Type(ref ty) = *param {","highlight_start":20,"highlight_end":32}],"label":"Use of undeclared type or module `GenericParam`","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"failed to resolve. Use of undeclared type or module `UseTreeKind`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve. Use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforgot to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\unsafe_removed_from_name.rs","byte_start":1141,"byte_end":1152,"line_start":46,"line_end":46,"column_start":9,"column_end":20,"is_primary":true,"text":[{"text":" UseTreeKind::Simple(new_name) => {","highlight_start":9,"highlight_end":20}],"label":"Use of undeclared type or module `UseTreeKind`","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"failed to resolve. Use of undeclared type or module `UseTreeKind`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve. Use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforgot to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\unsafe_removed_from_name.rs","byte_start":1450,"byte_end":1461,"line_start":55,"line_end":55,"column_start":9,"column_end":20,"is_primary":true,"text":[{"text":" UseTreeKind::Glob => {},","highlight_start":9,"highlight_end":20}],"label":"Use of undeclared type or module `UseTreeKind`","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"failed to resolve. Use of undeclared type or module `UseTreeKind`","code":{"code":"E0433","explanation":"\nAn undeclared type or module was used.\n\nErroneous code example:\n\n```compile_fail,E0433\nlet map = HashMap::new();\n// error: failed to resolve. Use of undeclared type or module `HashMap`\n```\n\nPlease verify you didn't misspell the type/module's name or that you didn't\nforgot to import it:\n\n\n```\nuse std::collections::HashMap; // HashMap has been imported.\nlet map: HashMap<u32, u32> = HashMap::new(); // So it can be used!\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\unsafe_removed_from_name.rs","byte_start":1483,"byte_end":1494,"line_start":56,"line_end":56,"column_start":9,"column_end":20,"is_primary":true,"text":[{"text":" UseTreeKind::Nested(ref nested_use_tree) => {","highlight_start":9,"highlight_end":20}],"label":"Use of undeclared type or module `UseTreeKind`","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"cannot find tuple struct/variant `ItemTraitAlias` in module `hir`","code":{"code":"E0531","explanation":null},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\utils\\inspector.rs","byte_start":13950,"byte_end":13964,"line_start":406,"line_end":406,"column_start":14,"column_end":28,"is_primary":true,"text":[{"text":" hir::ItemTraitAlias(..) => {","highlight_start":14,"highlight_end":28}],"label":"not found in `hir`","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"cannot find type `GenericParam` in this scope","code":{"code":"E0412","explanation":"\nThe type name used is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n type N;\n\n fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n // either\n use super::File;\n // or\n // use std::fs::File;\n fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lifetimes.rs","byte_start":4298,"byte_end":4310,"line_start":140,"line_end":140,"column_start":28,"column_end":40,"is_primary":true,"text":[{"text":" named_generics: &'tcx [GenericParam],","highlight_start":28,"highlight_end":40}],"label":"not found in this scope","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"cannot find type `GenericParam` in this scope","code":{"code":"E0412","explanation":"\nThe type name used is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n type N;\n\n fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n // either\n use super::File;\n // or\n // use std::fs::File;\n fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lifetimes.rs","byte_start":7170,"byte_end":7182,"line_start":225,"line_end":225,"column_start":39,"column_end":51,"is_primary":true,"text":[{"text":"fn allowed_lts_from(named_generics: &[GenericParam]) -> HashSet<RefLt> {","highlight_start":39,"highlight_end":51}],"label":"not found in this scope","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"cannot find type `GenericParam` in this scope","code":{"code":"E0412","explanation":"\nThe type name used is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n type N;\n\n fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n // either\n use super::File;\n // or\n // use std::fs::File;\n fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lifetimes.rs","byte_start":13382,"byte_end":13394,"line_start":408,"line_end":408,"column_start":52,"column_end":64,"is_primary":true,"text":[{"text":" fn visit_generic_param(&mut self, param: &'tcx GenericParam) {","highlight_start":52,"highlight_end":64}],"label":"not found in this scope","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"cannot find function `walk_generic_param` in this scope","code":{"code":"E0425","explanation":"\nAn unresolved name was used.\n\nErroneous code examples:\n\n```compile_fail,E0425\nsomething_that_doesnt_exist::foo;\n// error: unresolved name `something_that_doesnt_exist::foo`\n\n// or:\n\ntrait Foo {\n fn bar() {\n Self; // error: unresolved name `Self`\n }\n}\n\n// or:\n\nlet x = unknown_variable; // error: unresolved name `unknown_variable`\n```\n\nPlease verify that the name wasn't misspelled and ensure that the\nidentifier being referred to is valid for the given situation. Example:\n\n```\nenum something_that_does_exist {\n Foo,\n}\n```\n\nOr:\n\n```\nmod something_that_does_exist {\n pub static foo : i32 = 0i32;\n}\n\nsomething_that_does_exist::foo; // ok!\n```\n\nOr:\n\n```\nlet unknown_variable = 12u32;\nlet x = unknown_variable; // ok!\n```\n\nIf the item is not defined in the current module, it must be imported using a\n`use` statement, like so:\n\n```\n# mod foo { pub fn bar() {} }\n# fn main() {\nuse foo::bar;\nbar();\n# }\n```\n\nIf the item you are importing is not defined in some super-module of the\ncurrent module, then it must also be declared as public (e.g., `pub fn`).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lifetimes.rs","byte_start":13701,"byte_end":13719,"line_start":415,"line_end":415,"column_start":13,"column_end":31,"is_primary":true,"text":[{"text":" walk_generic_param(self, param)","highlight_start":13,"highlight_end":31}],"label":"did you mean `walk_generics`?","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"cannot find tuple struct/variant `ItemTraitAlias` in module `hir`","code":{"code":"E0531","explanation":null},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\missing_doc.rs","byte_start":4567,"byte_end":4581,"line_start":142,"line_end":142,"column_start":18,"column_end":32,"is_primary":true,"text":[{"text":" hir::ItemTraitAlias(..) => \"a trait alias\",","highlight_start":18,"highlight_end":32}],"label":"not found in `hir`","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"cannot find type `UseTree` in this scope","code":{"code":"E0412","explanation":"\nThe type name used is not in scope.\n\nErroneous code examples:\n\n```compile_fail,E0412\nimpl Something {} // error: type name `Something` is not in scope\n\n// or:\n\ntrait Foo {\n fn bar(N); // error: type name `N` is not in scope\n}\n\n// or:\n\nfn foo(x: T) {} // type name `T` is not in scope\n```\n\nTo fix this error, please verify you didn't misspell the type name, you did\ndeclare it or imported it into the scope. Examples:\n\n```\nstruct Something;\n\nimpl Something {} // ok!\n\n// or:\n\ntrait Foo {\n type N;\n\n fn bar(_: Self::N); // ok!\n}\n\n// or:\n\nfn foo<T>(x: T) {} // ok!\n```\n\nAnother case that causes this error is when a type is imported into a parent\nmodule. To fix this, you can follow the suggestion and use File directly or\n`use super::File;` which will import the types from the parent namespace. An\nexample that causes this error is below:\n\n```compile_fail,E0412\nuse std::fs::File;\n\nmod foo {\n fn some_function(f: File) {}\n}\n```\n\n```\nuse std::fs::File;\n\nmod foo {\n // either\n use super::File;\n // or\n // use std::fs::File;\n fn foo(f: File) {}\n}\n# fn main() {} // don't insert it for us; that'll break imports\n```\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\unsafe_removed_from_name.rs","byte_start":1064,"byte_end":1071,"line_start":44,"line_end":44,"column_start":30,"column_end":37,"is_primary":true,"text":[{"text":"fn check_use_tree(use_tree: &UseTree, cx: &EarlyContext, span: &Span) {","highlight_start":30,"highlight_end":37}],"label":"not found in this scope","suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":31,"byte_end":54,"line_start":3,"line_end":3,"column_start":1,"column_end":24,"is_primary":true,"text":[{"text":"#![feature(box_syntax)]","highlight_start":1,"highlight_end":24}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":55,"byte_end":84,"line_start":4,"line_end":4,"column_start":1,"column_end":30,"is_primary":true,"text":[{"text":"#![feature(custom_attribute)]","highlight_start":1,"highlight_end":30}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":85,"byte_end":107,"line_start":5,"line_end":5,"column_start":1,"column_end":23,"is_primary":true,"text":[{"text":"#![feature(i128_type)]","highlight_start":1,"highlight_end":23}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":108,"byte_end":125,"line_start":6,"line_end":6,"column_start":1,"column_end":18,"is_primary":true,"text":[{"text":"#![feature(i128)]","highlight_start":1,"highlight_end":18}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":126,"byte_end":152,"line_start":7,"line_end":7,"column_start":1,"column_end":27,"is_primary":true,"text":[{"text":"#![feature(rustc_private)]","highlight_start":1,"highlight_end":27}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":153,"byte_end":180,"line_start":8,"line_end":8,"column_start":1,"column_end":28,"is_primary":true,"text":[{"text":"#![feature(slice_patterns)]","highlight_start":1,"highlight_end":28}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":181,"byte_end":214,"line_start":9,"line_end":9,"column_start":1,"column_end":34,"is_primary":true,"text":[{"text":"#![feature(stmt_expr_attributes)]","highlight_start":1,"highlight_end":34}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":215,"byte_end":251,"line_start":10,"line_end":10,"column_start":1,"column_end":37,"is_primary":true,"text":[{"text":"#![feature(conservative_impl_trait)]","highlight_start":1,"highlight_end":37}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":252,"byte_end":303,"line_start":11,"line_end":11,"column_start":1,"column_end":52,"is_primary":true,"text":[{"text":"#![feature(inclusive_range_syntax, range_contains)]","highlight_start":1,"highlight_end":52}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"#![feature] may not be used on the stable release channel","code":{"code":"E0554","explanation":"\nFeature attributes are only allowed on the nightly release channel. Stable or\nbeta compilers will not comply.\n\nExample of erroneous code (on a stable compiler):\n\n```ignore (depends on release channel)\n#![feature(non_ascii_idents)] // error: #![feature] may not be used on the\n // stable release channel\n```\n\nIf you need the feature, make sure to use a nightly release of the compiler\n(but be warned that the feature may be removed or altered in the future).\n"},"level":"error","spans":[{"file_name":"C:\\Users\\Geob\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\clippy_lints-0.0.181\\src\\lib.rs","byte_start":304,"byte_end":334,"line_start":12,"line_end":12,"column_start":1,"column_end":31,"is_primary":true,"text":[{"text":"#![feature(macro_vis_matcher)]","highlight_start":1,"highlight_end":31}],"label":null,"suggested_replacement":null,"expansion":null}],"children":[],"rendered":null}
{"message":"aborting due to 24 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":null}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment