Skip to content

Instantly share code, notes, and snippets.

@skeleten
skeleten / issue-19509.rs
Created October 9, 2015 01:03
Issue 19509 for rust-lang/rust
use std::ops::Deref;
pub struct Foo {
baz: Bar,
}
pub struct Bar;
impl Foo {
pub fn foo_method(&self) {
/* do something, doesn't really matter */
DEBUG:rls::server: Language Server starting up. Version: 0.124.0-nightly (9782aa4 2017-12-15)
TRACE:rls::server::io: reading: 422 bytes
TRACE:rls::server: Read message `{"jsonrpc":"2.0","method":"initialize","params":{"processId":5998,"rootPath":"/home/skeleten/Source/skeleten/rusty-lisp/","rootUri":"file:///home/skeleten/Source/skeleten/rusty-lisp/","capabilities":{"workspace":{"executeCommand":{"dynamicRegistration":true}},"textDocument":{"synchronization":{"willSave":true,"didSave":true},"completion":{"completionItem":{"snippetSupport":true}}}},"initializationOptions":null},"id":1}`
TRACE:rls::server: Parsed message `RawMessage { method: "initialize", id: Some(Num(1)), params: Object({"capabilities": Object({"textDocument": Object({"completion": Object({"completionItem": Object({"snippetSupport": Bool(true)})}), "synchronization": Object({"didSave": Bool(true), "willSave": Bool(true)})}), "workspace": Object({"executeCommand": Object({"dynamicRegistration": Bool(true)})})}), "initializationOptions": Null,
Compiling rusty-lisp v0.1.0 (file:///home/skeleten/Source/skeleten/rusty-lisp)
warning: unused import: `lexer::LexableInput`
--> src/main.rs:7:5
|
7 | use lexer::LexableInput;
| ^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
error[E0597]: `buf` does not live long enough
Compiling rusty-lisp v0.1.0 (file:///home/skeleten/Source/skeleten/rusty-lisp)
warning: unused import: `lexer::LexableInput`
--> src/main.rs:7:5
|
7 | use lexer::LexableInput;
| ^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
error[E0597]: `buf` does not live long enough
Script started on 2018-01-06 01:44:29+0000
(B[?2004h(B⏎(B ⏎ ~/S/r/rust (master)(B ▶︎︎(B ..(B/x.py build(B/x.py build(Bx.py build(B build(B
(B[?2004l(BUpdating submodules
 Finished dev [unoptimized] target(s) in 0.0 secs
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
 Finished release [optimized] target(s) in 0.0 secs
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unkno
Updating submodules
Finished dev [unoptimized] target(s) in 0.0 secs
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.0 secs
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.0 secs
Copying stage0 test from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building LLVM for x86_64-unknown-linux-gnu
running: "cmake" "/home/skeleten/Source/rust-lang/rust/src/llvm" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc;NVPTX;Hexagon" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_INCLUDE_DOCS=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DWITH_POLLY=OFF" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_
Updating submodules
Finished dev [unoptimized] target(s) in 0.0 secs
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.0 secs
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.0 secs
Copying stage0 test from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building LLVM for x86_64-unknown-linux-gnu
running: "cmake" "/home/skeleten/Source/rust-lang/rust/src/llvm" "-DLLVM_ENABLE_ASSERTIONS=OFF" "-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc;NVPTX;Hexagon" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_INCLUDE_DOCS=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DWITH_POLLY=OFF" "-DLLVM_ENABLE_TERMINFO=OF
timeout 20
resolution 1920 1080
# don't scan for internal drives
scanfor external,optical,manual
# volume - identifies the filesystem from which subsequent files
# are loaded. You can specify the volume by filesystem
# label, by partition label, or by partition GUID number
# (but NOT yet by filesystem UUID number).
# loader - identifies the boot loader file
timeout 20
resolution 1920 1080
# don't scan for internal drives
scanfor external,optical,manual
# volume - identifies the filesystem from which subsequent files
# are loaded. You can specify the volume by filesystem
# label, by partition label, or by partition GUID number
# (but NOT yet by filesystem UUID number).
# loader - identifies the boot loader file