Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
numeric
/
numeric-fields.rs
blob: 28234bbdff94e5763cc94645055583f7a9d1037a [
file
] [
log
] [
blame
]
struct
S
(
u8
,
u16
);
fn
main
()
{
let
s
=
S
{
0b1
:
10
,
0
:
11
};
//~^ ERROR struct `S` has no field named `0b1`
match
s
{
S
{
0
:
a
,
0x1
:
b
,
..}
=>
{}
//~^ ERROR does not have a field named `0x1`
}
}