Skip to content

Instantly share code, notes, and snippets.

View emberian's full-sized avatar

emberian

View GitHub Profile
4542 [pid 18437] stat64("/home/cmr/Downloads/license.dat", {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0
4543 [pid 18437] stat64("/home/cmr/Downloads/license.dat", {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0
4544 [pid 18437] open("/home/cmr/Downloads/license.dat", O_RDONLY) = 7
4545 [pid 18437] fstat64(7, {st_mode=S_IFREG|0644, st_size=1072, ...}) = 0
4546 [pid 18437] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf50ef000
4547 [pid 18437] read(7, "FEATURE LSC_ICECUBE2_A lattice 1"..., 4096) = 1072
4548 [pid 18437] read(7, "", 4096) = 0
4549 [pid 18437] _llseek(7, 0, [0], SEEK_SET) = 0
4550 [pid 18437] read(7, "FEATURE LSC_ICECUBE2_A lattice 1"..., 4096) = 1072
4551 [pid 18437] read(7, "", 4096) = 0
src/lib.rs:258:46: 258:49 error: unresolved name `hyp`
src/lib.rs:258 new.push(hyp.subst(subst));
^~~
note: in expansion of for loop expansion
src/lib.rs:257:33: 259:34 note: expansion site
note: in expansion of for loop expansion
src/lib.rs:255:29: 261:30 note: expansion site
note: in expansion of for loop expansion
src/lib.rs:227:29: 263:22 note: expansion site
note: in expansion of if let expansion
diff --git a/src/lib.rs b/src/lib.rs
index f42314b..3a92934 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -281,7 +281,7 @@ unsafe impl Num for C {
unsafe impl Complex for C {
#[inline(always)]
- fn dotc() -> unsafe extern fn(blasint, *const <C as Num>::Float, blasint, *const <C as Num>::Float, blasint) -> <C as Num>::RetSelf { cblas_cdotc }
+ fn dotc() -> unsafe extern fn(blasint, *const C::Float, blasint, *const C::Float, blasint) -> C::RetSelf { cblas_cdotc }
[18:53:16]~/Downloads/rust-1.0.0-beta-x86_64-unknown-linux-gnu> sudo ./install.sh --help
Usage: ./install.sh [options]
Options:
./install.sh: line 254: META: unbound variable
int
#ifdef KR_headers
main(argc, argv)
int argc;
char **argv;
#else
main(int argc, char **argv)
#endif
use std::os;
#[allow(unused_variables)]
fn main() {
let width = 2u8;
let height = 3u8;
let size = 4u8;
let pitch = width * size;
let (mut x_offset, mut y_offset) = (0u8, 0u8);
From 6d1d74f6d99a7384291c3e95c53a514dfd77b169 Mon Sep 17 00:00:00 2001
From: Corey Richardson <[email protected]>
Date: Mon, 15 Dec 2014 13:29:22 -0500
Subject: [PATCH] walk associated types more deeply
---
src/libsyntax/visit.rs | 7 +++++--
src/test/run-pass/associated-type-lifetime.rs | 17 +++++++++++++++++
2 files changed, 22 insertions(+), 2 deletions(-)
create mode 100644 src/test/run-pass/associated-type-lifetime.rs
<!doctype html>
<html>
<body>
<input type=button>
<input type=button>
<input type=button>
<input type=checkbox>
<input type=checkbox>
<input type=button>
<input type=checkbox>
❯ cargo build --verbose
Downloading docopt v0.6.8
Unable to get packages from source
Caused by:
Failed to download package `docopt v0.6.8` from https://crates.io/api/v1/crates/docopt/0.6.8/download
Caused by:
Couldn't connect to server
This file has been truncated, but you can view the full file.
// License header from top of the mingw-w64 windows.h this was generated from:
/*
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
/* automatically generated by rust-bindgen */
pub type __gnuc_va_list = __builtin_va_list;
pub type va_list = __gnuc_va_list;