Skip to content

Commit

Permalink
chore: adds missing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kobyhallx committed Dec 1, 2023
1 parent 64585f6 commit a365350
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions compiler/noirc_frontend/src/hir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::hir_def::function::FuncMeta;
use crate::node_interner::{FuncId, NodeInterner, StructId};
use def_map::{Contract, CrateDefMap};
use fm::{FileId, FileManager};
use noirc_errors::Location;
use noirc_errors::{Location, Span};
use std::collections::BTreeMap;

use self::def_map::TestFunction;
Expand Down Expand Up @@ -180,10 +180,11 @@ impl Context {
.collect()
}

/// Returns the [Location] of the definition of the given Ident found at [Span].
pub fn find_definition_location(
&self,
file: FileId,
query_location: &noirc_errors::Span,
query_location: &Span,
) -> Option<Location> {
let interner = &self.def_interner;

Expand Down

0 comments on commit a365350

Please sign in to comment.