mirror of
https://github.com/RustPython/Parser.git
synced 2025-09-04 01:21:27 +00:00
Let located
only for python located stuff
This commit is contained in:
parent
a3d9d8cb14
commit
1d366d52ab
7 changed files with 38 additions and 38 deletions
|
@ -7,10 +7,10 @@ impl crate::fold::Fold<()> for SourceLocator<'_> {
|
|||
|
||||
#[cold]
|
||||
fn map_user(&mut self, _user: ()) -> Result<Self::TargetU, Self::Error> {
|
||||
unreachable!("implemented map_located");
|
||||
unreachable!("implemented map_attributed");
|
||||
}
|
||||
|
||||
fn map_located<T>(
|
||||
fn map_attributed<T>(
|
||||
&mut self,
|
||||
node: Attributed<T, ()>,
|
||||
) -> Result<Attributed<T, Self::TargetU>, Self::Error> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue