Fix tests

This commit is contained in:
Alex Crichton 2013-07-11 01:03:37 -07:00
parent f9bf69d253
commit a15c1b4464
3 changed files with 7 additions and 7 deletions

View file

@ -10,12 +10,12 @@
// Testing that we can't store a borrowed pointer it task-local storage
use std::local_data::*;
use std::local_data;
fn key(_x: @&int) { }
fn main() {
unsafe {
local_data_set(key, @&0); //~ ERROR does not fulfill `'static`
local_data::set(key, @&0); //~ ERROR does not fulfill `'static`
}
}