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
300901b70509a0af2d971aa6f6104300da24212c
rust
/
tests
/
ui
/
mir
/
mir_small_agg_arg.rs
9 lines
101 B
Rust
Raw
Normal View
History
Unescape
Escape
Add `// run-pass` annotations to all the tests under `ui/run-pass/`. (I may have accidentally added it to some auxilliary crates as well; my emacs-macro-based methodology was pretty crude.)
2018-08-30 14:18:55 +02:00
// run-pass
Add `#![allow(..)]` as necessary to get re-migrated run-pass tests compiling with clean stderr again. Most were added mechanically.
2018-09-25 23:51:35 +02:00
#![
allow(unused_variables)
]
[MIR-trans] Fix handling of small aggregate arguments Function arguments that are small aggregates get passed as integer types instead. To correctly handle that, we need to use store_ty instead of plain Store.
2015-11-04 16:18:15 +01:00
fn
foo
(
(
x
,
y
)
:
(
i8
,
i8
)
)
{
}
fn
main
(
)
{
foo
(
(
0
,
1
)
)
;
}
Reference in New Issue
Copy Permalink