racer
racer copied to clipboard
racer does not provide suggestions for impl trait
trafficstars
testcase.rs:
use std;
fn main() {
}
struct Rand {
name: &'static str
}
impl std::str::FromStr for Rand {
fn~
}
Executing racer complete 9 8 testcase.rs returns only END
racer should be able to suggestion completions based on the functions trait std::str::FromStr provides.
This appears to be the result of racer not finding trait functions which aren't methods. I believe I addressed this in #774, but we'll have to test that.
DEBUG:racer::core: Path: contextstr is ||, searchstr is |fr|
DEBUG:racer::core: Complete path with line: "fn fr"
DEBUG:racer::nameres: resolve_path P[fr] "src/assoc.rs" 107 StartsWith
DEBUG:racer::nameres: resolve_name fr "src/assoc.rs" 107 StartsWith Both
DEBUG:racer::nameres: search_local_scopes PathSegment { name: "fr", types: [] } "src/assoc.rs" 107 StartsWith Both
DEBUG:racer::nameres: searching scope Both start: 97 point: 107 'fr' "src/assoc.rs" StartsWith local: true, session: Session { .. }
TRACE:racer::nameres: Closure definition match is looking for `fr` in 12 characters
DEBUG:racer::nameres: search_scope found matches StartsWith []
DEBUG:racer::nameres: search_scope_headers for |fr| pt: 96
DEBUG:racer::nameres: search_scope_headers preblock is |impl FromStr for Happy |
DEBUG:racer::nameres: found impl of trait : expr is |FromStr|
DEBUG:racer::nameres: resolve_path P[FromStr] "src/assoc.rs" 84 ExactMatch
DEBUG:racer::nameres: resolve_name FromStr "src/assoc.rs" 84 ExactMatch Both
DEBUG:racer::nameres: search_local_scopes PathSegment { name: "FromStr", types: [] } "src/assoc.rs" 84 ExactMatch Both
DEBUG:racer::nameres: searching scope Both start: 0 point: 84 'FromStr' "src/assoc.rs" ExactMatch local: true, session: Session { .. }
DEBUG:racer::matchers: found use: FromStr in |use std::str::FromStr;|
DEBUG:racer::nameres: resolve_path P[std::str::FromStr] "src/assoc.rs" 22 ExactMatch
DEBUG:racer::nameres: resolve_path P[std::str] "src/assoc.rs" 22 ExactMatch
DEBUG:racer::nameres: resolve_path P[std] "src/assoc.rs" 22 ExactMatch
DEBUG:racer::nameres: resolve_name std "src/assoc.rs" 22 ExactMatch Type
DEBUG:racer::nameres: get_crate_file std, "src/assoc.rs"
DEBUG:racer::cargo: get_crate_file: from_path="src/assoc.rs"
TRACE:racer::cargo: get_crate_file_from_overrides; crate_name="std", path="src/assoc.rs"
TRACE:racer::cargo: trying path="src/assoc.rs/.cargo/config"
TRACE:racer::cargo: trying path="src/.cargo/config"
TRACE:racer::cargo: file_name() is none
TRACE:racer::cargo: get_crate_file tomlfile is "Cargo.toml"
TRACE:racer::cargo: find_src_via_lockfile searching for std in "Cargo.lock"
TRACE:racer::cargo: parse_toml_file: "Cargo.lock"
DEBUG:racer::cargo: get_cargo_packages found lock_table {"root": Table({"name": String("rls_repro"), "version": String("0.1.0")})}
TRACE:racer::cargo: find_src_via_lockfile returning None
TRACE:racer::cargo: find_src_via_tomlfile looking for std
TRACE:racer::cargo: parse_toml_file: "Cargo.toml"
TRACE:racer::cargo: get_local_packages didn't find section dev-dependencies
TRACE:racer::cargo: find_src_via_tomlfile didn't find local packages
DEBUG:racer::nameres: searching a module 'std' for str (whole path: P[std::str])
DEBUG:racer::nameres: searching scope Type start: 0 point: 0 'str' "/Users/ehd/rust/rust/src/libstd/lib.rs" ExactMatch local: false, session: Session { .. }
DEBUG:racer::matchers: found use: str in |pub use core_collections::str;|
DEBUG:racer::nameres: resolve_path P[core_collections::str] "/Users/ehd/rust/rust/src/libstd/lib.rs" 16936 ExactMatch
DEBUG:racer::nameres: resolve_path P[core_collections] "/Users/ehd/rust/rust/src/libstd/lib.rs" 16936 ExactMatch
DEBUG:racer::nameres: resolve_name core_collections "/Users/ehd/rust/rust/src/libstd/lib.rs" 16936 ExactMatch Type
DEBUG:racer::nameres: search_local_scopes PathSegment { name: "core_collections", types: [] } "/Users/ehd/rust/rust/src/libstd/lib.rs" 16936 ExactMatch Type
DEBUG:racer::nameres: searching scope Type start: 0 point: 16936 'core_collections' "/Users/ehd/rust/rust/src/libstd/lib.rs" ExactMatch local: true, session: Session { .. }
DEBUG:racer::matchers: found an extern crate: |extern crate collections as core_collections;|
DEBUG:racer::matchers: extern crate core_collections
DEBUG:racer::nameres: get_crate_file collections, "/Users/ehd/rust/rust/src/libstd/lib.rs"
DEBUG:racer::cargo: get_crate_file: from_path="/Users/ehd/rust/rust/src/libstd/lib.rs"
TRACE:racer::cargo: get_crate_file_from_overrides; crate_name="collections", path="/Users/ehd/rust/rust/src/libstd/lib.rs"
TRACE:racer::cargo: trying path="/Users/ehd/rust/rust/src/libstd/lib.rs/.cargo/config"
TRACE:racer::cargo: trying path="/Users/ehd/rust/rust/src/libstd/.cargo/config"
TRACE:racer::cargo: trying path="/Users/ehd/rust/rust/src/.cargo/config"
TRACE:racer::cargo: trying path="/Users/ehd/rust/rust/.cargo/config"
TRACE:racer::cargo: trying path="/Users/ehd/rust/.cargo/config"
TRACE:racer::cargo: trying path="/Users/ehd/.cargo/config"
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/.cargo/config"
TRACE:racer::cargo: trying path="/Users/.cargo/config"
TRACE:racer::cargo: file_name() is none
TRACE:racer::cargo: get_crate_file tomlfile is "/Users/ehd/rust/rust/src/libstd/Cargo.toml"
TRACE:racer::cargo: did not find lock file at "/Users/ehd/rust/rust/src/libstd/Cargo.lock"
TRACE:racer::cargo: find_src_via_tomlfile looking for collections
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/Cargo.toml"
DEBUG:racer::cargo: get_local_packages found table {"build-dependencies": Table({"build_helper": Table({"path": String("../build_helper")}), "gcc": String("0.3.27")}), "dependencies": Table({"alloc": Table({"path": String("../liballoc")}), "alloc_jemalloc": Table({"optional": Boolean(true), "path": String("../liballoc_jemalloc")}), "alloc_system": Table({"path": String("../liballoc_system")}), "collections": Table({"path": String("../libcollections")}), "compiler_builtins": Table({"path": String("../libcompiler_builtins")}), "core": Table({"path": String("../libcore")}), "libc": Table({"path": String("../rustc/libc_shim")}), "panic_abort": Table({"path": String("../libpanic_abort")}), "panic_unwind": Table({"optional": Boolean(true), "path": String("../libpanic_unwind")}), "rand": Table({"path": String("../librand")}), "std_unicode": Table({"path": String("../libstd_unicode")}), "unwind": Table({"path": String("../libunwind")})}), "features": Table({"backtrace": Array([]), "debug-jemalloc": Array([String("alloc_jemalloc/debug")]), "force_alloc_system": Array([]), "jemalloc": Array([String("alloc_jemalloc")]), "panic-unwind": Array([String("panic_unwind")])}), "lib": Table({"crate-type": Array([String("dylib"), String("rlib")]), "name": String("std"), "path": String("lib.rs")}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "build": String("build.rs"), "name": String("std"), "version": String("0.0.0")}), "target": Table({"x86_64-unknown-linux-gnu": Table({"dependencies": Table({"rustc_asan": Table({"path": String("../librustc_asan")}), "rustc_lsan": Table({"path": String("../librustc_lsan")}), "rustc_msan": Table({"path": String("../librustc_msan")}), "rustc_tsan": Table({"path": String("../librustc_tsan")})})})})};getting packages for section 'dependencies'
DEBUG:racer::cargo: get_local_packages found table {"build-dependencies": Table({"build_helper": Table({"path": String("../build_helper")}), "gcc": String("0.3.27")}), "dependencies": Table({"alloc": Table({"path": String("../liballoc")}), "alloc_jemalloc": Table({"optional": Boolean(true), "path": String("../liballoc_jemalloc")}), "alloc_system": Table({"path": String("../liballoc_system")}), "collections": Table({"path": String("../libcollections")}), "compiler_builtins": Table({"path": String("../libcompiler_builtins")}), "core": Table({"path": String("../libcore")}), "libc": Table({"path": String("../rustc/libc_shim")}), "panic_abort": Table({"path": String("../libpanic_abort")}), "panic_unwind": Table({"optional": Boolean(true), "path": String("../libpanic_unwind")}), "rand": Table({"path": String("../librand")}), "std_unicode": Table({"path": String("../libstd_unicode")}), "unwind": Table({"path": String("../libunwind")})}), "features": Table({"backtrace": Array([]), "debug-jemalloc": Array([String("alloc_jemalloc/debug")]), "force_alloc_system": Array([]), "jemalloc": Array([String("alloc_jemalloc")]), "panic-unwind": Array([String("panic_unwind")])}), "lib": Table({"crate-type": Array([String("dylib"), String("rlib")]), "name": String("std"), "path": String("lib.rs")}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "build": String("build.rs"), "name": String("std"), "version": String("0.0.0")}), "target": Table({"x86_64-unknown-linux-gnu": Table({"dependencies": Table({"rustc_asan": Table({"path": String("../librustc_asan")}), "rustc_lsan": Table({"path": String("../librustc_lsan")}), "rustc_msan": Table({"path": String("../librustc_msan")}), "rustc_tsan": Table({"path": String("../librustc_tsan")})})})})};getting packages for section 'dev-dependencies'
TRACE:racer::cargo: get_local_packages didn't find section dev-dependencies
DEBUG:racer::cargo: find_src_via_tomlfile found local packages: [PackageInfo { name: "alloc", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../liballoc/src/lib.rs") }, PackageInfo { name: "alloc_jemalloc", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../liballoc_jemalloc/src/lib.rs") }, PackageInfo { name: "alloc_system", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../liballoc_system/src/lib.rs") }, PackageInfo { name: "collections", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libcollections/src/lib.rs") }, PackageInfo { name: "compiler_builtins", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libcompiler_builtins/src/lib.rs") }, PackageInfo { name: "core", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libcore/src/lib.rs") }, PackageInfo { name: "libc", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../rustc/libc_shim/src/lib.rs") }, PackageInfo { name: "panic_abort", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libpanic_abort/src/lib.rs") }, PackageInfo { name: "panic_unwind", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libpanic_unwind/src/lib.rs") }, PackageInfo { name: "rand", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../librand/src/lib.rs") }, PackageInfo { name: "std_unicode", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libstd_unicode/src/lib.rs") }, PackageInfo { name: "unwind", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libunwind/src/lib.rs") }]
DEBUG:racer::cargo: find_src_via_tomlfile found local packages dev: []
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/../liballoc/Cargo.toml"
DEBUG:racer::cargo: get_package_name found lock_table {"dependencies": Table({"core": Table({"path": String("../libcore")})}), "lib": Table({"name": String("alloc"), "path": String("lib.rs")}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "name": String("alloc"), "version": String("0.0.0")})}
DEBUG:racer::cargo: find_src_via_tomlfile package_name: alloc
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/../liballoc_jemalloc/Cargo.toml"
DEBUG:racer::cargo: get_package_name found lock_table {"build-dependencies": Table({"build_helper": Table({"path": String("../build_helper")}), "gcc": String("0.3.27")}), "dependencies": Table({"core": Table({"path": String("../libcore")}), "libc": Table({"path": String("../rustc/libc_shim")})}), "features": Table({"debug": Array([])}), "lib": Table({"doc": Boolean(false), "name": String("alloc_jemalloc"), "path": String("lib.rs"), "test": Boolean(false)}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "build": String("build.rs"), "links": String("jemalloc"), "name": String("alloc_jemalloc"), "version": String("0.0.0")})}
DEBUG:racer::cargo: find_src_via_tomlfile package_name: alloc_jemalloc
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/../liballoc_system/Cargo.toml"
DEBUG:racer::cargo: get_package_name found lock_table {"dependencies": Table({"core": Table({"path": String("../libcore")}), "libc": Table({"path": String("../rustc/libc_shim")})}), "lib": Table({"doc": Boolean(false), "name": String("alloc_system"), "path": String("lib.rs"), "test": Boolean(false)}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "name": String("alloc_system"), "version": String("0.0.0")})}
DEBUG:racer::cargo: find_src_via_tomlfile package_name: alloc_system
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/../libcollections/Cargo.toml"
DEBUG:racer::cargo: get_package_name found lock_table {"bench": Array([Table({"name": String("collectionsbenches"), "path": String("../libcollections/benches/lib.rs")})]), "dependencies": Table({"alloc": Table({"path": String("../liballoc")}), "core": Table({"path": String("../libcore")}), "std_unicode": Table({"path": String("../libstd_unicode")})}), "lib": Table({"name": String("collections"), "path": String("lib.rs")}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "name": String("collections"), "version": String("0.0.0")}), "test": Array([Table({"name": String("collectionstests"), "path": String("../libcollections/tests/lib.rs")})])}
DEBUG:racer::cargo: find_src_via_tomlfile package_name: collections
TRACE:racer::cargo: find_src_via_tomlfile looking for collections
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/../libcollections/Cargo.toml"
DEBUG:racer::cargo: found collections as lib entry in Cargo.toml
DEBUG:racer::nameres: get_crate_file - found the crate file! "/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs"
DEBUG:racer::nameres: searching a module 'core_collections' for str (whole path: P[core_collections::str])
DEBUG:racer::nameres: searching scope Both start: 0 point: 0 'str' "/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs" ExactMatch local: false, session: Session { .. }
DEBUG:racer::matchers: found a module: |pub mod str;|
DEBUG:racer::nameres: resolve_path returning [Match ["str", "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs", 0, false, Module, [], [] |/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs|]]
DEBUG:racer::nameres: resolve_path returning [Match ["str", "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs", 0, false, Module, [], [] |/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs|]]
DEBUG:racer::nameres: searching a module 'str' for FromStr (whole path: P[std::str::FromStr])
DEBUG:racer::nameres: searching scope Both start: 0 point: 0 'FromStr' "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs" ExactMatch local: false, session: Session { .. }
DEBUG:racer::matchers: found use: FromStr in |pub use core::str::{FromStr, Utf8Error};|
DEBUG:racer::nameres: resolve_path P[core::str::FromStr] "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs" 1914 ExactMatch
DEBUG:racer::nameres: resolve_path P[core::str] "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs" 1914 ExactMatch
DEBUG:racer::nameres: resolve_path P[core] "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs" 1914 ExactMatch
DEBUG:racer::nameres: resolve_name core "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs" 1914 ExactMatch Type
DEBUG:racer::nameres: search_local_scopes PathSegment { name: "core", types: [] } "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs" 1914 ExactMatch Type
DEBUG:racer::nameres: searching scope Type start: 0 point: 1914 'core' "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs" ExactMatch local: true, session: Session { .. }
DEBUG:racer::matchers: found use: core in |use core::fmt;|
DEBUG:racer::matchers: found use: core in |use core::str as core_str;|
DEBUG:racer::matchers: found use: core in |use core::str::pattern::Pattern;|
DEBUG:racer::matchers: found use: core in |use core::str::pattern::{Searcher, ReverseSearcher, DoubleEndedSearcher};|
DEBUG:racer::matchers: found use: core in |use core::mem;|
DEBUG:racer::matchers: found use: core in |use core::iter::FusedIterator;|
DEBUG:racer::matchers: import pub use core::str::{FromStr, Utf8Error}; involved in a cycle; ignoring
DEBUG:racer::matchers: found use: core in |pub use core::str::{Lines, LinesAny};|
DEBUG:racer::matchers: found use: core in |pub use core::str::{Split, RSplit};|
DEBUG:racer::matchers: found use: core in |pub use core::str::{SplitN, RSplitN};|
DEBUG:racer::matchers: found use: core in |pub use core::str::{SplitTerminator, RSplitTerminator};|
DEBUG:racer::matchers: found use: core in |pub use core::str::{Matches, RMatches};|
DEBUG:racer::matchers: found use: core in |pub use core::str::{MatchIndices, RMatchIndices};|
DEBUG:racer::matchers: found use: core in |pub use core::str::{from_utf8, Chars, CharIndices, Bytes};|
DEBUG:racer::matchers: found use: core in |pub use core::str::{from_utf8_unchecked, from_utf8_unchecked_mut, ParseBoolError};|
DEBUG:racer::matchers: found use: core in |pub use core::str::pattern;|
TRACE:racer::nameres: Closure definition match is looking for `core` in 63307 characters
TRACE:racer::nameres: Found a closure declaration 3328..3331, about to search for `core` in |s|
DEBUG:racer::nameres: search_scope found matches ExactMatch []
DEBUG:racer::nameres: search_crate_root |PathSegment { name: "core", types: [] }| "/Users/ehd/rust/rust/src/libstd/../libcollections/str.rs"
DEBUG:racer::nameres: going to search for PathSegment { name: "core", types: [] } in crateroot "/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs"
DEBUG:racer::nameres: resolve_name core "/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs" 0 ExactMatch Type
DEBUG:racer::nameres: search_local_scopes PathSegment { name: "core", types: [] } "/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs" 0 ExactMatch Type
DEBUG:racer::nameres: searching scope Type start: 0 point: 0 'core' "/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs" ExactMatch local: true, session: Session { .. }
DEBUG:racer::nameres: Looking for core and found #![no_std], which implicitly imports it
DEBUG:racer::nameres: get_crate_file core, "/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs"
DEBUG:racer::cargo: get_crate_file: from_path="/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs"
TRACE:racer::cargo: get_crate_file_from_overrides; crate_name="core", path="/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs"
TRACE:racer::cargo: trying path="/Users/ehd/rust/rust/src/libstd/../libcollections/lib.rs/.cargo/config"
TRACE:racer::cargo: trying path="/Users/ehd/rust/rust/src/libstd/../libcollections/.cargo/config"
TRACE:racer::cargo: file_name() is none
TRACE:racer::cargo: get_crate_file tomlfile is "/Users/ehd/rust/rust/src/libstd/../libcollections/Cargo.toml"
TRACE:racer::cargo: did not find lock file at "/Users/ehd/rust/rust/src/libstd/../libcollections/Cargo.lock"
TRACE:racer::cargo: find_src_via_tomlfile looking for core
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/../libcollections/Cargo.toml"
DEBUG:racer::cargo: get_local_packages found table {"bench": Array([Table({"name": String("collectionsbenches"), "path": String("../libcollections/benches/lib.rs")})]), "dependencies": Table({"alloc": Table({"path": String("../liballoc")}), "core": Table({"path": String("../libcore")}), "std_unicode": Table({"path": String("../libstd_unicode")})}), "lib": Table({"name": String("collections"), "path": String("lib.rs")}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "name": String("collections"), "version": String("0.0.0")}), "test": Array([Table({"name": String("collectionstests"), "path": String("../libcollections/tests/lib.rs")})])};getting packages for section 'dependencies'
DEBUG:racer::cargo: get_local_packages found table {"bench": Array([Table({"name": String("collectionsbenches"), "path": String("../libcollections/benches/lib.rs")})]), "dependencies": Table({"alloc": Table({"path": String("../liballoc")}), "core": Table({"path": String("../libcore")}), "std_unicode": Table({"path": String("../libstd_unicode")})}), "lib": Table({"name": String("collections"), "path": String("lib.rs")}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "name": String("collections"), "version": String("0.0.0")}), "test": Array([Table({"name": String("collectionstests"), "path": String("../libcollections/tests/lib.rs")})])};getting packages for section 'dev-dependencies'
TRACE:racer::cargo: get_local_packages didn't find section dev-dependencies
DEBUG:racer::cargo: find_src_via_tomlfile found local packages: [PackageInfo { name: "alloc", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libcollections/../liballoc/src/lib.rs") }, PackageInfo { name: "core", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/src/lib.rs") }, PackageInfo { name: "std_unicode", version: None, source: Some("/Users/ehd/rust/rust/src/libstd/../libcollections/../libstd_unicode/src/lib.rs") }]
DEBUG:racer::cargo: find_src_via_tomlfile found local packages dev: []
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/../libcollections/../liballoc/Cargo.toml"
DEBUG:racer::cargo: get_package_name found lock_table {"dependencies": Table({"core": Table({"path": String("../libcore")})}), "lib": Table({"name": String("alloc"), "path": String("lib.rs")}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "name": String("alloc"), "version": String("0.0.0")})}
DEBUG:racer::cargo: find_src_via_tomlfile package_name: alloc
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/Cargo.toml"
DEBUG:racer::cargo: get_package_name found lock_table {"bench": Array([Table({"name": String("corebenches"), "path": String("../libcore/benches/lib.rs")})]), "lib": Table({"bench": Boolean(false), "name": String("core"), "path": String("lib.rs"), "test": Boolean(false)}), "package": Table({"authors": Array([String("The Rust Project Developers")]), "name": String("core"), "version": String("0.0.0")}), "test": Array([Table({"name": String("coretests"), "path": String("../libcore/tests/lib.rs")})])}
DEBUG:racer::cargo: find_src_via_tomlfile package_name: core
TRACE:racer::cargo: find_src_via_tomlfile looking for core
TRACE:racer::cargo: parse_toml_file: "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/Cargo.toml"
DEBUG:racer::cargo: found core as lib entry in Cargo.toml
DEBUG:racer::nameres: get_crate_file - found the crate file! "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/lib.rs"
DEBUG:racer::nameres: searching a module 'core' for str (whole path: P[core::str])
DEBUG:racer::nameres: searching scope Type start: 0 point: 0 'str' "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/lib.rs" ExactMatch local: false, session: Session { .. }
DEBUG:racer::matchers: found a module: |pub mod str;|
DEBUG:racer::nameres: resolve_path returning [Match ["str", "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/str/mod.rs", 0, false, Module, [], [] |/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/str/mod.rs|]]
DEBUG:racer::nameres: searching a module 'str' for FromStr (whole path: P[core::str::FromStr])
DEBUG:racer::nameres: searching scope Both start: 0 point: 0 'FromStr' "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/str/mod.rs" ExactMatch local: false, session: Session { .. }
DEBUG:racer::matchers: found!! a trait FromStr
DEBUG:racer::nameres: resolve_path returning [Match ["FromStr", "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/str/mod.rs", 2100, false, Trait, [], [] |pub trait FromStr: Sized|]]
DEBUG:racer::nameres: resolve_path returning [Match ["FromStr", "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/str/mod.rs", 2100, false, Trait, [], [] |pub trait FromStr: Sized|]]
DEBUG:racer::nameres: found trait : match is |Match ["FromStr", "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/str/mod.rs", 2100, false, Trait, [], [] |pub trait FromStr: Sized|]|
DEBUG:racer::nameres: searching scope for method declarations 2116 |fr| "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/str/mod.rs"
DEBUG:racer::typeinf: searching fn args: |s: &str| false
DEBUG:racer::nameres: searching scope for methods 2116 |fr| "/Users/ehd/rust/rust/src/libstd/../libcollections/../libcore/str/mod.rs"
DEBUG:racer::typeinf: searching fn args: |s: &str| false
DEBUG:racer::nameres: searching scope Both start: 0 point: 107 'fr' "src/assoc.rs" StartsWith local: true, session: Session { .. }
TRACE:racer::nameres: Closure definition match is looking for `fr` in 109 characters
DEBUG:racer::nameres: search_scope found matches StartsWith []
DEBUG:racer::nameres: search_crate_root |PathSegment { name: "fr", types: [] }| "src/assoc.rs"
DEBUG:racer::nameres: going to search for PathSegment { name: "fr", types: [] } in crateroot "src/lib.rs"
DEBUG:racer::nameres: resolve_name fr "src/lib.rs" 0 StartsWith Both
DEBUG:racer::nameres: search_local_scopes PathSegment { name: "fr", types: [] } "src/lib.rs" 0 StartsWith Both
DEBUG:racer::nameres: searching scope Both start: 0 point: 0 'fr' "src/lib.rs" StartsWith local: true, session: Session { .. }
TRACE:racer::nameres: Closure definition match is looking for `fr` in 691 characters
DEBUG:racer::nameres: search_scope found matches StartsWith []
DEBUG:racer::nameres: search_crate_root |PathSegment { name: "fr", types: [] }| "src/lib.rs"
DEBUG:racer::nameres: search_prelude file PathSegment { name: "fr", types: [] } StartsWith Both
DEBUG:racer::nameres: searching scope Both start: 0 point: 0 'fr' "/Users/ehd/rust/rust/src/libstd/prelude/v1.rs" StartsWith local: true, session: Session { .. }
TRACE:racer::nameres: Closure definition match is looking for `fr` in 2324 characters
DEBUG:racer::nameres: search_scope found matches StartsWith []
DEBUG:racer::nameres: do_file_search fr
DEBUG:racer::nameres: do_file_search srcpaths /Users/ehd/rust/rust/src
DEBUG:racer::nameres: do_file_search v is ["/Users/ehd/rust/rust/src", "src"]
DEBUG:racer::nameres: search_prelude file PathSegment { name: "fr", types: [] } StartsWith Both
DEBUG:racer::nameres: searching scope Both start: 0 point: 0 'fr' "/Users/ehd/rust/rust/src/libstd/prelude/v1.rs" StartsWith local: true, session: Session { .. }
TRACE:racer::nameres: Closure definition match is looking for `fr` in 2324 characters
DEBUG:racer::nameres: search_scope found matches StartsWith []
DEBUG:racer::nameres: do_file_search fr
DEBUG:racer::nameres: do_file_search srcpaths /Users/ehd/rust/rust/src
DEBUG:racer::nameres: do_file_search v is ["/Users/ehd/rust/rust/src", "src"]
This isn't fixed as of racer 2.1.16, can someone please change the status?