diff --git a/src/libexpr/paths.cc b/src/libexpr/paths.cc index 8f7fb4264..7a2826e7a 100644 --- a/src/libexpr/paths.cc +++ b/src/libexpr/paths.cc @@ -48,8 +48,6 @@ SourcePath EvalState::decodePath(std::string_view s, PosIdx pos) SourcePath path {accessor->second, CanonPath(s)}; - warn("applying 'toString' to path '%s' and then accessing it is deprecated, at %s", path, positions[pos]); - return path; } catch (std::invalid_argument & e) { fail();