File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1152,7 +1152,7 @@ impl<TYPER:Typer> MemCategorizationContext<TYPER> {
11521152 format ! ( "captured outer variable" )
11531153 }
11541154 _ => {
1155- format ! ( "dereference of {} pointer" , ptr_sigil( pk) )
1155+ format ! ( "dereference of `{}`- pointer" , ptr_sigil( pk) )
11561156 }
11571157 }
11581158 }
Original file line number Diff line number Diff line change 1111fn with ( f: |& ~str|) { }
1212
1313fn arg_item ( & _x: & ~str ) { }
14- //~^ ERROR cannot move out of dereference of & pointer
14+ //~^ ERROR cannot move out of dereference of `&`- pointer
1515
1616fn arg_closure ( ) {
1717 with ( |& _x| ( ) )
18- //~^ ERROR cannot move out of dereference of & pointer
18+ //~^ ERROR cannot move out of dereference of `&`- pointer
1919}
2020
2121fn let_pat ( ) {
2222 let & _x = & ~"hi";
23- //~^ ERROR cannot move out of dereference of & pointer
23+ //~^ ERROR cannot move out of dereference of `&`- pointer
2424}
2525
2626pub fn main ( ) { }
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ pub fn main() {
2626 [ _, ..tail] => {
2727 match tail {
2828 [ Foo { string : a } , Foo { string : b } ] => {
29- //~^ ERROR cannot move out of dereference of & pointer
30- //~^^ ERROR cannot move out of dereference of & pointer
29+ //~^ ERROR cannot move out of dereference of `&`- pointer
30+ //~^^ ERROR cannot move out of dereference of `&`- pointer
3131 }
3232 _ => {
3333 unreachable ! ( ) ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ trait parse {
1818
1919impl parse for parser {
2020 fn parse ( & self ) -> ~[ int ] {
21- self . tokens //~ ERROR cannot move out of dereference of & pointer
21+ self . tokens //~ ERROR cannot move out of dereference of `&`- pointer
2222 }
2323}
2424
You can’t perform that action at this time.
0 commit comments