Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
b3827e4f3728b77bd3e60587487ebfc3cc8d901b
rust/tests/ui/const-generics/defaults/simple-defaults.rs

14 lines
255 B
Rust
Raw Normal View History

[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
loosen ordering restricts for `const_generics_defaults`
2021-04-18 14:31:00 +02:00
// Checks that type param defaults are allowed after const params.
Change Ord impl for ParamKindOrd Updated tests and error msgs Update stderr from test Update w/ lcnr comments Change some tests around, and also updated Ord implementation for ParamKindOrd Update w/ nits from lcnr
2020-08-06 08:22:32 +00:00
#![allow(dead_code)]
struct FixedOutput<'a, const N: usize, T=u32> {
Prefer 4 spaces
2021-03-29 17:32:27 +09:00
out: &'a [T; N],
Change Ord impl for ParamKindOrd Updated tests and error msgs Update stderr from test Update w/ lcnr comments Change some tests around, and also updated Ord implementation for ParamKindOrd Update w/ nits from lcnr
2020-08-06 08:22:32 +00:00
}
trait FixedOutputter {
Prefer 4 spaces
2021-03-29 17:32:27 +09:00
fn out(&self) -> FixedOutput<'_, 10>;
Change Ord impl for ParamKindOrd Updated tests and error msgs Update stderr from test Update w/ lcnr comments Change some tests around, and also updated Ord implementation for ParamKindOrd Update w/ nits from lcnr
2020-08-06 08:22:32 +00:00
}
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1698ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API