Consider $$\int_{-\pi/4}^0 \tan(x) \cdot \sec^2(x)\,\mathrm{d}x.$$ Take $u=\tan(x)$ so that $\mathrm{d}u=\sec^2(x)\,\mathrm{d}x$.
Would it be correct to say
$$\int_{-\pi/4}^0 \tan(x) \cdot \sec^2(x)\,\mathrm{d}x=\int_{x=-\pi/4}^{0}u\,\mathrm{d}u?$$
No.
When one writes
$$\int_{a}^{b} f(t)\,\mathrm{d}t,$$
$a$ and $b$ are the minimum and maximum values of the variable of integration (in the case of the integral above, that variable is $t$). If one wanted to be very specific about this, one could write
$$\int_{t=a}^{t=b} f(t)\,\mathrm{d}t.$$
The notation
$$\int_{x=-\pi/4}^{0}u\,\mathrm{d}u$$
is very unclear. What is $x$? Where did it come from? What is it supposed to mean? It is confusing. If I saw that notation, I would assume that the integral came from a problem in which the lower bound of integration is a variable, and it is being evaluated for a specific value of that variable. Hence I would evaluate the integral as
$$\int_{x=-\pi/4}^{0}u\,\mathrm{d}u
= \frac{1}{2} u^2 \Bigr|_{u=-\pi/4}^{0}
= \frac{1}{2} \left( -\frac{\pi}{4}\right)^2
= \frac{1}{32} \pi^2. $$
The relevant theorem, as presented in Thomas' Calculus (early transcendentals, 13th ed), is
Theorem: If $g'$ is continuous on the interval $[a,b]$ and $f$ is continuous on the range of $g(x) = u$, then
$$ \int_{a}^{b} f(g(x))\cdot g'(x)\,\mathrm{d}x = \int_{g(a)}^{g(b)} f(u)\,\mathrm{d}u. $$
In the given problem, take $f(x) = x$ (or, equivalently, $f(u)=u$) and $u = g(x) = \tan(x)$. Observe that $g'(x)=\sec(x)^2$ is continuous on the interval $[-\pi/4,0]$. $g$ is monotonic on that interval, hence the image of that interval is
$$ g([-\pi/4,0]) = [g(-\pi/4), g(0)] = [-1,0]. $$
Moreover, $f$ is continuous on on this interval, hence the hypotheses of the theorem are satisfied. Doing a little bit of scratch work, note that
$$ f(g(x)) = \tan(x)
\qquad\text{and}\qquad
g'(x) = \sec(x)^2. $$
The theorem can then be applied to conclude that
$$ \int_{-\pi/4}^{0} \tan(x)\sec(x)^2\,\mathrm{d}x
= \int_{-1}^{0} u\,\mathrm{d}u.$$
Again, the theorem asserts that if you have an integral with certain properties, then you may replace that integral with another integral. There are no "intermediate steps"—the theorem is a "black box": you feed it an integral of a given form, and it spits out another integral which evaluates to the same number.