Sign in
fuchsia
/
third_party
/
diesel-rs
/
diesel
/
98e7eb960a04f0b3a64fd142405bcc4f35d2b06d
/
.
/
diesel_compile_tests
/
tests
/
ui
/
belongs_to_missing_parent_import.rs
blob: cfb33f96018b09b800b4afdbe3e57ab20d952814 [
file
] [
log
] [
blame
]
#[
macro_use
]
extern
crate diesel
;
table
!
{
foos
{
id
->
Integer
,
bar_id
->
Integer
,
}
}
#[
derive
(
Associations
)]
#[
belongs_to
(
Bar
)]
struct
Foo
{
bar_id
:
i32
,
}
fn
main
()
{}