This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
rust
/
tests
/
ui
/
consts
/
raw_pointer_promoted.rs
6 lines
79 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ check-pass
Promoteds can contain raw pointers, but these must still only point to immutable allocations
2019-12-25 13:58:02 +01:00
pub
const
FOO
:
&
'static
*
const
i32
=
&
(
&
0
as
_
)
;
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink