This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
82cb88b777
rust
/
src
/
test
/
ui
/
issues
/
issue-6458-1.rs
8 lines
96 B
Rust
Raw
Normal View
History
Unescape
Escape
Move tests from `test/run-fail` to UI
2020-04-16 01:50:32 -05:00
// run-fail
Implement numeric fallback Doesn't yet converge on a fixed point, but generally works. A better algorithm will come with the implementation of default type parameter fallback. If inference fails to determine an exact integral or floating point type, it will set the type to i32 or f64, respectively. Closes #16968
2014-12-15 08:45:28 -06:00
// error-pattern:explicit panic
testsuite: Tests for #6458. Closes #6458
2013-08-12 15:47:02 -05:00
fn
foo
<
T
>
(
t
:
T
)
{
}
run rustfmt on test/run-fail folder
2016-05-26 21:39:36 -05:00
fn
main
(
)
{
foo
(
panic!
(
)
)
}
Reference in New Issue
Copy Permalink