Defining my own `next!` but avoiding confict

Do you actually need to use ProgressMeter.next! in your code? If, for example, you only need @showprogress, then I would do the following:

julia> next!() = 1
next! (generic function with 1 method)

julia> using ProgressMeter: @showprogress

Note that this does not generate a warning. If you do need ProgressMeter.next!, then as @lmiq mentioned, you can do import ProgressMeter and then write ProgressMeter.next! whenever you need the next! from ProgressMeter. Note that when you do this you won’t need to prefix your own version of next!.

Also note that you can combine import and using, so that you can use other names from ProgressMeter without prefixing them:

julia> next!() = 1
next! (generic function with 1 method)

julia> using ProgressMeter: @showprogress

julia> import ProgressMeter

julia> ProgressMeter.next! === next!
false