Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 423 Bytes
// build-pass (FIXME(62277): could be check-pass?)
use std::ops::Deref;
pub struct TypeFieldIterator<'a, T: 'a> {
_t: &'a T,
pub struct Type<Id, T> {
_types: Vec<(Id, T)>,
impl<'a, Id: 'a, T> Iterator for TypeFieldIterator<'a, T>
where T: Deref<Target = Type<Id, T>> {
type Item = &'a (Id, T);
fn next(&mut self) -> Option<&'a (Id, T)> {
fn main() { }
You can’t perform that action at this time.