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
/
mir
/
mir-inlining
/
auxiliary
/
internal.rs
8 lines
103 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ compile-flags: -Zalways-encode-mir
Fix inlining with -Zalways-encode-mir Only inline functions that are considered eligible for inlining by the reachability pass. This constraint was previously indirectly enforced by only exporting MIR of eligible functions, but that approach doesn't work with -Zalways-encode-mir enabled.
2023-08-27 00:00:00 +00:00
static
S
:
usize
=
42
;
pub
fn
f
(
)
->
&
'static
usize
{
&
S
}
Reference in New Issue
Copy Permalink