Skip to content

Commit

Permalink
Auto merge of #25834 - steveklabnik:gh25326, r=alexcrichton
Browse files Browse the repository at this point in the history
Fixes #25326
  • Loading branch information
bors committed May 28, 2015
2 parents 4233cbd + 62e5dee commit a5a5fce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustc/diagnostics.rs
Expand Up @@ -218,9 +218,9 @@ Therefore, casting one of these non-constant pointers to an integer results
in a non-constant integer which lead to this error. Example:
```
const X: u32 = 50;
const Y: *const u32 = &X;
println!("{:?}", Y);
const X: u32 = 1;
const Y: usize = &X as *const u32 as usize;
println!("{}", Y);
```
"##,

Expand Down

0 comments on commit a5a5fce

Please sign in to comment.