Fix tests
This commit is contained in:
parent
6b6ad781f8
commit
869daad8fc
3 changed files with 7 additions and 4 deletions
|
@ -1063,8 +1063,9 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
}) => {}
|
||||
// auto trait impl
|
||||
AutoImplCandidate(..) => {}
|
||||
// FIXME check if this is right, but this would allow Sized impls
|
||||
// BuiltinCandidate { .. } => {}
|
||||
// generator, this will raise error in other places
|
||||
// or ignore error with const_async_blocks feature
|
||||
GeneratorCandidate => {}
|
||||
_ => {
|
||||
// reject all other types of candidates
|
||||
return Err(Unimplemented);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue