Remove some TODOs
This commit is contained in:
parent
002d3a922c
commit
7b8d0befd6
@ -150,7 +150,6 @@ impl<'a, 'tcx> LinkCollector<'a, 'tcx> {
|
||||
let variant_name =
|
||||
// we're not sure this is a variant at all, so use the full string
|
||||
split.next().map(|f| Symbol::intern(f)).ok_or(ErrorKind::Resolve(ResolutionFailure::NotInScope(path_str.into())))?;
|
||||
// TODO: this looks very wrong, why are we requiring 3 fields?
|
||||
let path = split
|
||||
.next()
|
||||
.map(|f| {
|
||||
@ -161,7 +160,6 @@ impl<'a, 'tcx> LinkCollector<'a, 'tcx> {
|
||||
}
|
||||
f.to_owned()
|
||||
})
|
||||
// TODO: is this right?
|
||||
.ok_or(ErrorKind::Resolve(ResolutionFailure::NotInScope(
|
||||
variant_name.to_string().into(),
|
||||
)))?;
|
||||
|
@ -10,7 +10,6 @@
|
||||
//~| NOTE no item named `path::to` is in scope
|
||||
//~| HELP to escape
|
||||
|
||||
// TODO: why does this say `f` and not `f::A`??
|
||||
/// [f::A]
|
||||
//~^ ERROR unresolved link
|
||||
//~| NOTE this link partially resolves
|
||||
|
Loading…
x
Reference in New Issue
Block a user