A test file is fixed
This commit is contained in:
parent
c8e93edf55
commit
4400bbd72a
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
// Testing that we can't store a borrowed pointer it task-local storage
|
||||
|
||||
use core::task::local_data::*;
|
||||
use core::local_data::*;
|
||||
|
||||
fn key(_x: @&int) { }
|
||||
|
||||
|
|
@ -18,4 +18,4 @@ fn main() {
|
|||
unsafe {
|
||||
local_data_set(key, @&0); //~ ERROR does not fulfill `'static`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue