This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-05-03 05:27:36 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
453b51a65a
rust
/
tests
/
ui
/
enum
/
enum-inside-enum-issue-40350.rs
11 lines
88 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
Fix ICE on inner enum in missing docs lint. This also simplifies the lint by not storing variant depth or the struct def stack, because we no longer need them.
2017-05-27 16:06:15 +00:00
enum
E
{
A
=
{
enum
F
{
B
}
0
}
}
Removed `#[rustc_error]` from tests that are all `// compile-pass`. I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.)
2018-10-31 12:08:01 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink