lang: Remove deprecated account (#907)
This commit is contained in:
parent
5608436d68
commit
2a4fa8c94b
|
@ -172,13 +172,6 @@ pub fn parse_token(stream: ParseStream) -> ParseResult<ConstraintToken> {
|
|||
.join(stream.span())
|
||||
.unwrap_or_else(|| ident.span());
|
||||
match kw.as_str() {
|
||||
// Deprecated since 0.11
|
||||
"belongs_to" => {
|
||||
return Err(ParseError::new(
|
||||
ident.span(),
|
||||
"belongs_to is deprecated, please use has_one",
|
||||
))
|
||||
}
|
||||
"has_one" => ConstraintToken::HasOne(Context::new(
|
||||
span,
|
||||
ConstraintHasOne {
|
||||
|
|
Loading…
Reference in New Issue