diff options
Diffstat (limited to 'src/test/run-pass/nullable-pointer-iotareduction.rs')
| -rw-r--r-- | src/test/run-pass/nullable-pointer-iotareduction.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/nullable-pointer-iotareduction.rs b/src/test/run-pass/nullable-pointer-iotareduction.rs index df9b8bd64f0..0e185c3a335 100644 --- a/src/test/run-pass/nullable-pointer-iotareduction.rs +++ b/src/test/run-pass/nullable-pointer-iotareduction.rs @@ -76,7 +76,7 @@ pub fn main() { check_type!(&17: &int); check_type!(box 18: Box<int>); check_type!(@19: @int); - check_type!("foo".to_strbuf(): String); + check_type!("foo".to_string(): String); check_type!(vec!(20, 22): Vec<int> ); let mint: uint = unsafe { mem::transmute(main) }; check_type!(main: fn(), |pthing| { |
